SophiaFramework UNIVERSE 5.3 |
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | O | X | X |
Public Functions | |
---|---|
SFCError |
Draw(
SFB3DSmpConstRef i3D
)
Draw a 3D model.
|
SFCError |
GetModelData(
AEE3DModelData** modelOut
)
Get the model information for an I3DModel instance.
|
SFCError |
GetModelVertexList(
AEE3DVertex** vertexListOut
)
Get the vertex list stored in an I3DModel instance.
|
SFCError |
Load(
ACharConstPtr fileName
)
Load a 3D model. The 3D model must be in the Q3D file format.
|
SFCError |
Load(
SFXAnsiStringConstRef fileName
)
Load a 3D model. The 3D model must be in the Q3D file format.
|
static SFB3DModelSmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFB3DModel instance.
|
static SFB3DModelSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFB3DModel instance.
|
SFCError |
SetSegmentMVT(
AEE3DTransformMatrix* trans
, SInt16 index
)
Set the Model View Transformation Matrix (MVT) for a segment in the
model.
|
SFCError |
SetTextureTbl(
AEE3DTexture* texture
, UInt16 index
)
Set the texture table in a model.
|
SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFCError |
QueryInterface(
AEECLSID clsid
, SFBBaseSmpPtr handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
Protected Functions | |
---|---|
static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface.
|
static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.
|
[ public ] SFCError Draw( SFB3DSmpConstRef i3D // pointer to SFB3D interface );
The model data contained in the pI3DModel interface must be in the AEE3DModelData format.
[ public ] SFCError GetModelData( AEE3DModelData** modelOut // address of a pointer to a model structure );
[ public ] SFCError GetModelVertexList( AEE3DVertex** vertexListOut // address of a pointer to a vertex list );
[ public ] SFCError Load( ACharConstPtr fileName // filename string );
[ public ] SFCError Load( SFXAnsiStringConstRef fileName // filename string );
[ public, static ] SFB3DModelSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFB3DModelSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] SFCError SetSegmentMVT( AEE3DTransformMatrix* trans // pointer to a transformation matrix SInt16 index // segment index -1 will set all segments using this transformation );
[ public ] SFCError SetTextureTbl( AEE3DTexture* texture // pointer to a texture UInt16 index // index for the model’s texture table );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |