fbsdk/fbmodel.h File Reference
Base class for Cameras.
Base class for models.
Base class for Lights.
Definition in file fbmodel.h .
enum FBModelTransformationType {
kModelTransformation ,
kModelRotation ,
kModelTranslation ,
kModelScaling ,
kModelTransformation_Geometry ,
kModelInverse_Transformation ,
kModelInverse_Rotation ,
kModelInverse_Translation ,
kModelInverse_Scaling ,
kModelInverse_Transformation_Geometry
} Types of transformation vector/matrices possible. More...
enum FBModelShadingMode {
kFBModelShadingDefault ,
kFBModelShadingWire ,
kFBModelShadingFlat ,
kFBModelShadingLight ,
kFBModelShadingHard ,
kFBModelShadingTexture ,
kFBModelShadingAll
} Modes for model shading. More...
enum FBModelRenderPass { kFBModelRenderPassStandard ,
kFBModelRenderPassPick
} Model Render pass. More...
enum FBModelRotationOrder {
kFBEulerXYZ = 0,
kFBEulerXZY ,
kFBEulerYZX ,
kFBEulerYXZ ,
kFBEulerZXY ,
kFBEulerZYX ,
kFBSphericXYZ
} Ways to apply Rotation. More...
enum FBModelCullingMode { kFBCullingOff ,
kFBCullingOnCCW ,
kFBCullingOnCW
} Model Culling Mode. More...
enum FBModelEvaluationTaskType { kFBModelEvaluationTransform ,
kFBModelEvaluationBBox ,
kFBModelEvaluationDeform
}
enum FBModelHiercharyTraverserType { kModelTraverserDepthFirst ,
kModelTraverserBreadthFirst
} Types of hierarchy traverser search type. More...
enum FBSelectionAction {
kFBManipulatorReplace = 0,
kFBManipulatorAdd ,
kFBManipulatorRemove ,
kFBManipulatorToggle ,
kFBManipulatorAddAll ,
kFBManipulatorRemoveAll
} Selection mode when selecting component. More...
enum FBMarkerResolutionLevel { kFBMarkerLowResolution ,
kFBMarkerMediumResolution ,
kFBMarkerHighResolution
} Resolution of marker mesh sphere and capsule (Quality). More...
enum FBMarkerLook {
kFBMarkerLookCube ,
kFBMarkerLookHardCross ,
kFBMarkerLookLightCross ,
kFBMarkerLookSphere ,
kFBMarkerLookCapsule ,
kFBMarkerLookSquare ,
kFBMarkerLookCircle ,
kFBMarkerLookBone ,
kFBMarkerLookStick ,
kFBMarkerLookBox ,
kFBMarkerLookNone ,
kFBMarkerLookRigidGoal ,
kFBMarkerLookRotationGoal ,
kFBMarkerLookAimRollGoal
} Look of the marker. More...
enum FBMarkerType { kFBMarkerTypeStandard ,
kFBMarkerTypeOptical ,
kFBMarkerTypeFKEffector ,
kFBMarkerTypeIKEffector
} Type of the marker. More...
enum FBSkeletonLook {
kFBSkeletonLookBone ,
kFBSkeletonLookCube ,
kFBSkeletonLookHardCross ,
kFBSkeletonLookLightCross ,
kFBSkeletonLookSphere ,
kFBSkeletonLookCapsule ,
kFBSkeletonLookBox ,
kFBSkeletonLookCircle ,
kFBSkeletonLookSquare ,
kFBSkeletonLookStick
} Look of the skeleton. More...
enum FBSkeletonResolutionLevel { kFBSkeletonLowResolution ,
kFBSkeletonMediumResolution ,
kFBSkeletonHighResolution
} Resolution of skeleton sphere, capsule and stick (Quality). More...
enum FBClusterMode { kFBClusterNormalize ,
kFBClusterAdditive ,
kFBClusterTotal100
} Different clustering modes. More...
enum FBDeformerType { kFBDeformerUnkown ,
kFBDeformerSkeleton ,
kFBDeformerPointCache
} Determine the deformer type. More...
Be sure that FBSDK_DLL is defined only once...
Definition at line 48 of file fbmodel.h .
#define FBStorableCustomModelImplementation
(
ClassName,
Desc
)
Value: const char * ClassName::FbxGetObjectSubType(){ return #ClassName; }\
HIObject RegisterStorable##ClassName##Create(
HIObject ,
const char * pName,
void * ){\
ClassName* Class = new ClassName(pName);\
Class->mAllocated = true ;\
if( Class->FBCreate() ){\
__FBRemoveModelFromScene( Class->GetHIObject() ); \
return Class->GetHIObject();\
} else {\
delete Class;\
FBLibraryModule(ClassName##Storable){\
FBString lGroup = "FbxStorable/Model" ;\
FBRegisterObject(ClassName##R2, lGroup, #ClassName, Desc, RegisterStorable##ClassName##Create,
true ,
NULL );\
FBSetStoreableCustomModelRegistered();}\
Custom Storable Model Class implementation.
This should be placed in the source code file for a custom model class.
Definition at line 67 of file fbmodel.h .
Go to the source code of this file.