<< Click to Display Table of Contents >>
Plug-in API
Enum |
tagEO3DEngine |
|
|
|
(EO3DE_OpenGL |
represented by value 0 |
defines the graphic engine as OpenGL. |
|
EO3DE_DirectX) |
represented by value 1 |
defines the graphic engine as DirectX. |
|
|
|
|
Enum |
tagEOVectorUnits |
|
|
|
(EOVU_Absolute |
represented by value 0 |
defines the vector units as absolute. |
|
EOVU_InverseAbsolute |
represented by value 1 |
defines the vector units as inverse absolute. |
|
EOVU_Proportion |
represented by value 2 |
defines the vector units as proportion. |
|
|
|
|
Enum |
tagEOLightType |
|
|
|
(EOLT_TurnOff |
represented by value 0 |
defines the light type as turned off. |
|
EOLT_Point |
represented by value 1 |
defines the light type as point. |
|
EOLT_Parallel) |
represented by value 2 |
defines the light type as parallel. |
|
|
|
|
Enum |
tagEORenderPriority |
|
|
|
(Ground |
represented by value 0 |
defines the render priority as ground. |
|
Overlay |
represented by value 1 |
defines the render priority as overlay. |
|
LinePath |
represented by value 2 |
defines the render priority as line path. |
|
Placemark |
represented by value 3 |
defines the render priority as placemark. |
|
Custom) |
represented by value 4 |
defines the render priority as custom. |
|
|
|
|
Enum |
tagEOPrimitiveType |
|
|
|
(POINTLIST |
represented by value 0 |
define the primitive type as point list. |
|
LINELIST |
represented by value 1 |
define the primitive type as line list. |
|
LINESTRIP |
represented by value 2 |
define the primitive type as line strip. |
|
TRIANGLELIST |
represented by value 3 |
define the primitive type as triangle list. |
|
TRIANGLESTRIP |
represented by value 4 |
define the primitive type as triangle strip. |
|
TRIANGLEFAN) |
represented by value 5 |
define the primitive type as triangle fan. |
|
|
|
|
Enum |
EOCullFace |
|
|
|
(EOCF_None |
represented by value 0 |
define the cull face as none. |
|
EOCF_CW |
represented by value 1 |
define the cull face as CW. |
|
EOCF_CCW) |
represented by value 2 |
define the cull face as CWW. |
|
|
|
|
Enum |
tagEOVertexField |
|
|
|
(EOVF_Coordinate |
represented by value 0 |
define the vertex field as coordinate. |
|
EOVF_Normal |
represented by value 1 |
define the vertex field as normal. |
|
EOVF_Offset |
represented by value 2 |
define the vertex field as offset. |
|
EOVF_Scale |
represented by value 3 |
define the vertex field as scale. |
|
EOVF_Color |
represented by value 4 |
define the vertex field as color. |
|
EOVF_TextureCoordinate) |
represented by value 5 |
define the vertex field as Texture coordinate. |
|
|
|
|
Enum |
tagEOTextureFilter |
|
|
|
(EOTF_Nearest |
represented by value 0 |
define the texture filter as nearest. |
|
EOTF_Linear) |
represented by value 1 |
define the texture filter as linear. |
|
|
|
|
Enum |
tagEOTextureWrap |
|
|
|
(EOTW_Repeat |
represented by value 0 |
define the texture wrap as repeat. |
|
EOTW_Mirror |
represented by value 1 |
define the texture wrap as mirror. |
|
EOTW_Clamp |
represented by value 2 |
define the texture wrap as clamp. |
|
EOTW_Border) |
represented by value 3 |
define the texture wrap as border. |
|
|
|
|
Enum |
tagEOAltitudeMode |
|
|
|
(EOAM_Absolute |
represented by value 0 |
define the altitude mode as absolute. |
|
EOAM_RelativeToGround |
represented by value 1 |
define the altitude mode as relative to ground. |
|
EOAM_ClampToGround |
represented by value 2 |
define the altitude mode as clamp to ground. |
|
EOAM_RelativeToSeaFloor |
represented by value 3 |
define the altitude mode as relative to sea level. |
|
EOAM_ClampToSeaFloor) |
represented by value 4 |
define the altitude mode as absolute. |
|
|
|
|
Enum |
tagEOVisibleMode |
|
|
|
(EOVM_Hidden |
represented by value 0 |
define the visible mode of table of content as hidden. |
|
EOVM_Show |
represented by value 1 |
define the visible mode as table of content show. |
|
EOVM_ShowMinimum) |
represented by value 2 |
define the visible mode as show table of content minimum. |
|
|
|
|
Enum |
tagEOOrigin |
|
|
|
(EOO_UpperLeft |
represented by value 0 |
define the orgin as upper left. |
|
EOO_UpperRight |
represented by value 1 |
define the orgin as upper right. |
|
EOO_LowerLeft |
represented by value 2 |
define the origin as lower left. |
|
EOO_LowerRight) |
represented by value 3 |
define the origin as lower right. |
|
|
|
|
Enum |
tagEOPlacement |
|
|
|
(EOP_Left |
represented by value 0 |
define placement as left. |
|
EOP_Middle |
represented by value 1 |
define placement as middle. |
|
EOP_Right) |
represented by value 2 |
define placement as right. |
|
|
|
|
Enum |
tagEOUnitSystem |
|
|
|
(EOUS_Metric |
represented by value 0 |
define the unit system as metric. |
|
EOUS_Imperial) |
represented by value 1 |
define the unit system as imperial. |
|
|
|
|
Class |
ILatLonAlt |
|
|
Property |
double |
Latitude |
latitude coordinate. |
Property |
double |
Longitude |
longitude coordinate. |
Property |
double |
Altitude |
altitude coordinate. |
Method |
|
Coord(double newLatitude, double newLongitude, double newAltitude) |
set the latitude, longitude, and altitude. |
Method |
Boolean |
IsValid |
return if the coordinate is valid. |
|
|
|
|
Class |
IVector2 |
|
|
Property |
double |
X |
X coordinate. |
Property |
double |
Y |
Y coordinate. |
Property |
EOVectorUnits |
Xunits |
X vector unit. |
Property |
EOVectorUnits |
Yunits |
Y vector unit. |
Method |
IVector2 |
TransformUnits(double XSize, double Ysize, EOVectorUnits XUnits, EOVectorUnits Yunits) |
set transform units. |
|
|
|
|
Class |
IVector3 |
|
|
Property |
double |
X |
X coordinate. |
Property |
double |
Y |
Y coordinate. |
Property |
double |
Z |
Z coordinate. |
Method |
double |
GetValues(double values) |
return X, Y, or Z value. |
Method |
Boolean |
IsValid |
return if the value is valid. |
|
|
|
|
Class |
IVector4 |
|
|
Property |
double |
X |
X coordinate. |
Property |
double |
Y |
Y coordinate. |
Property |
double |
Z |
Z coordinate. |
Property |
double |
W |
W coordinate. |
Method |
double |
GetValues(double values) |
return X, Y, Z, or W value. |
Method |
Boolean |
IsValid |
return if the value is valid. |
|
|
|
|
Class |
IMatrix4 |
|
|
Property |
double |
Value(int n) |
value. |
Method |
double |
GetValues(double values) |
return value. |
|
|
|
|
|
|
|
|
Class |
IDDDEngineBuffer |
|
|
Method |
Boolean |
Verify(IDDDEngine Engine) |
return a Boolean value to verify the Engine buffer. |
Method |
|
Update(IUnknown Object) |
|
|
|
|
|
|
|
|
|
Class |
IPick |
|
|
Property |
IVector3 |
Origin |
origin of the pick. |
Property |
IVector3 |
Direction |
direction of the pick. |
Property |
double |
Distance |
distance of the pick. |
Property |
Idispatch |
Target |
picked target. |
Property |
IVector3 |
Locate |
locate pick. |
|
|
|
|
Class |
IModelMaterial |
|
|
Property |
EOCullFace |
CullFace |
model cullface. |
Property |
IVector4 |
Color |
model color. |
Property |
double |
Diffuse |
model diffuse. |
Property |
double |
Specular |
model specular. |
Property |
double |
Shininess |
model shininess. |
Property |
double |
LineWidth |
model line width. |
Property |
double |
AlphaTest |
model alpha test. |
|
|
|
|
Class |
IModelMesh |
|
|
Property |
long |
ValueCountPerVertex |
return value conut per vertex. |
Property |
variant |
Vertices |
model vertices. |
Property |
variant |
Indices |
model indices. |
|
|
|
|
Class |
IModelTexture |
|
|
Property |
IStream |
Stream |
model stream. |
Property |
long |
Width |
model width. |
Property |
long |
Height |
model height. |
Property |
long |
Stride |
model stride. |
Property |
EOTextureFilter |
Filter |
model filter. |
Property |
EOTextureWrap |
Wrap |
model wrap. |
Method |
|
SetupTexture(long Width, long Height, long Stride) |
set up model texture. |
Method |
|
LoadTexture(variant ImageSource) |
load the model texture. |
|
|
|
|
Class |
IDDDEngine |
|
|
Method |
|
Initialize(LONG_PTR hWnd) |
initialize the 3D environment. |
Method |
|
Resized |
resize the 3D environment window. |
Method |
|
Destroy |
destroy the 3D environment. |
Method |
|
StartRender(float BackgroundColor, float Depth) |
start rendering by assinging background color and depth of the 3D environment. |
Method |
|
ClearColorBuffer(float BackgroundColor) |
clear color buffer. |
Method |
|
ClearDepthBuffer(float Depth) |
clear depth buffer. |
Method |
|
SetProjectionTransform(float Matrix) |
set projection transform. |
Method |
|
SetViewTransform(float Matrix) |
set view transform. |
Method |
|
SetWorldTransform(float Matrix) |
set world transform. |
Method |
|
SetTextureTransform(float Matrix) |
set texture transform. |
Method |
|
SetLighting(EOLightType LightType, float Color, float Vector, float Ambient) |
set light. |
Method |
|
SetOffsetScale(float OffsetScale) |
set offset scale. |
Method |
|
Render(EOPrimitiveType Mode, IModelMesh, Mesh, IModelMaterial Material, IModelTexture Texture) |
render models. |
Method |
|
FlushRender |
flush render. |
Method |
|
EndRender |
end render. |
|
|
|
|
Class |
IOpenGLEngine |
|
|
|
|
|
|
Class |
IDirectXEngine |
|
|
|
|
|
|
Class |
ICamera |
|
|
Property |
IVector3 |
EyeAt |
EyeAt of Camera, position of the Camera. |
Property |
IVector3 |
LookDir |
LookDir of Camera, direction of the Camera. |
Property |
IVector3 |
UpDir |
UpDir of Camera. |
Property |
double |
Focus |
camera focus. |
Property |
double |
Aspect |
camera aspect. |
Property |
double |
NearPlane |
camera near plane. |
Property |
double |
FarPlane |
camera far plane. |
Method |
|
SetupProjection(double Aspect, double, NearPlane, double FarPlane) |
setup camera projection. |
Method |
|
SetupView(IVector3 EyeAt, IVector3 LookDir, IVector3 UpDir) |
setup camera view. |
Method |
IMatrix4 |
GetProjectionMatrix |
get projection matrix. |
Method |
IMatrix4 |
GetViewMatrix |
get view matrix. |
Method |
Boolean |
IsValidStatus |
return if the camera is a valid status. |
|
|
|
|
|
|
|
|
Class |
IAction |
|
|
Method |
|
Apply(double Second) |
apply the action. |
|
|
|
|
Class |
IAnimation |
|
|
Method |
|
IsRunning |
return if the animation is running. |
Method |
|
End |
end the animation |
Method |
|
Pause |
pause the animation. |
Method |
|
Run |
run the animation. |
Method |
|
Step |
move to next step of the animation. |
|
|
|
|
Class |
ILight |
|
|
Property |
EOLightType |
Type |
light type. |
Property |
IVector4 |
Color |
light color. |
Property |
IVector3 |
Direction |
light direction. |
Property |
IVector3 |
Location |
light location. |
Property |
double |
Ambient |
light ambient. |
|
|
|
|
Class |
IDDGraphics |
|
|
Property |
LONG_PTR |
Graphics |
return graphics. |
Property |
LONG_PTR |
Bitmap |
return bitmap. |
Property |
long |
Width |
width of the graphic. |
Property |
long |
Height |
height of the graphic. |
Method |
|
Clear |
clear graphics. |
Method |
|
Resize(long Width, long Height) |
resize the graphic. |
Method |
|
DrawText(BSTR text, float x, float y, IVector4 color, IVector4 bkColor, float size, BSTR family) |
draw text. |
Method |
SIZE |
MeasuteText(BSTR text, float size, BSTR family) |
measure text size. |
Method |
|
Render(Iscene Scene) |
render scene. |
© 2017 Supergeo Technologies Inc.