Gorilla.FBX.Types
Unit Gorilla.FBX.Types.pasClasses
- TFBXProperty = class ( TObject )
- TFBXNode = class ( TObject )
- TFBXConnections = class ( TObject )
- TFBXDefinition = class ( TObject )
- TFBXCache = class ( TVertexCache )
Records
- record TFBXHeader
- record TFBXMaterialNode
- record TFBXMaterialMap
- record TFBXNodeFixedRecord_7400
- record TFBXNodeFixedRecord_7500
- record TFBXNodeFixedRecord
- record TFBXNodeVarRecord_7400
- record TFBXNodeVarRecord_7500
- record TFBXArray
- record TFBXData
- record TFBXPropertyRecord
- record TFBXConnection
- record TFBXJoint
- record TFBXSkeleton
- record TCurveKeys
- record T3DPointInterpolatorKeys
Enumerations
- enum TFBXAxis = ( axisX, axisY, axisZ ) ;
- enum TFBXConstantMode = ( CurveKeyConstUndef, CurveKeyConstStandard, CurveKeyConstNext, CurveKeyConstAll ) ;
- enum TFBXTangeantMode = ( TangeantModeUndef, TangeantModeAuto, TangeantModeAutoBreak, TangeantModeTCB, TangeantModeUser, TangeantModeGenericBreak, TangeantModeBreak ) ;
- enum TFBXTangeantWeight = ( TangeantWeightUndef, TangeantWeightNone, TangeantWeightRight, TangeantWeightNextLeft ) ;
- enum TFBXTangeantVelocity = ( TangeantVelocityUndef, TangeantVelocityNone, TangeantVelocityRight, TangeantVelocityNextLeft ) ;
- enum TFBXMappingInformationType = ( ByPolygon, ByPolygonVertex, ByVertex, ByEdge, AllSame ) ;
- enum TFBXReferenceInformationType = ( Direct, IndexToDirect ) ;
- enum TFBXTransformationProperty = ( TransformationComp_Translation, TransformationComp_RotationOffset, TransformationComp_RotationPivot, TransformationComp_PreRotation, TransformationComp_Rotation, TransformationComp_PostRotation, TransformationComp_RotationPivotInverse, TransformationComp_ScalingOffset, TransformationComp_ScalingPivot, TransformationComp_Scaling, TransformationComp_ScalingPivotInverse, TransformationComp_GeometricScaling, TransformationComp_GeometricRotation, TransformationComp_GeometricTranslation, TransformationComp_GeometricScalingInverse, TransformationComp_GeometricRotationInverse, TransformationComp_GeometricTranslationInverse, TransformationComp_MAXIMUM ) ;
- enum TFBXDataType = ( fbxInt16, fbxBool, fbxInt32, fbxSingle, fbxDouble, fbxInt64, fbxArrSingle, fbxArrDouble, fbxArrInt64, fbxArrInt32, fbxArrBool, fbxString, fbxBinary ) ;
- enum TFBXInheritType = ( eInheritUndef, eInheritRrSs, eInheritRSrs, eInheritRrs ) ;
- enum TFBXNodeType = ( ntUnknown, ntMesh, ntNull, ntLimbNode, ntSkin, ntCluster, ntLine, ntNurbsCurve ) ;
- enum TFBXConnectionKind = ( fbxOO, fbxOP, fbxPP ) ;
Constants
- const FBX_PROPERTY_TYPE_INT16 : Byte = $59;
- const FBX_PROPERTY_TYPE_BOOL : Byte = $43;
- const FBX_PROPERTY_TYPE_INT32 : Byte = $49;
- const FBX_PROPERTY_TYPE_SINGLE : Byte = $46;
- const FBX_PROPERTY_TYPE_DOUBLE : Byte = $44;
- const FBX_PROPERTY_TYPE_INT64 : Byte = $4C;
- const FBX_PROPERTY_TYPE_ARRAY_SINGLE : Byte = $66;
- const FBX_PROPERTY_TYPE_ARRAY_DOUBLE : Byte = $64;
- const FBX_PROPERTY_TYPE_ARRAY_INT64 : Byte = $6C;
- const FBX_PROPERTY_TYPE_ARRAY_INT32 : Byte = $69;
- const FBX_PROPERTY_TYPE_ARRAY_BOOL : Byte = $62;
- const FBX_PROPERTY_TYPE_STRING : Byte = $53;
- const FBX_PROPERTY_TYPE_BINARY : Byte = $52;
- const FBX_TANGENT_AUTO : Integer = $100;
- const FBX_TANGENT_TCB : Integer = $200;
- const FBX_TANGENT_USER : Integer = $400;
- const FBX_TANGENT_GENERIC_BREAK : Integer = $800;
- const FBX_TANGENT_BREAK : Integer = $C00;
- const FBX_TANGENT_AUTO_BREAK : Integer = $900;
- const FBX_TANGENT_GENERIC_CLAMP : Integer = $1000;
- const FBX_TANGENT_GENERIC_TIME_INDEPENDENT : Integer = $2000;
- const FBX_TANGENT_GENERIC_CLAMP_PROGRESSIVE : Integer = $6000;
- const FBX_INTERPOLATION_CONSTANT : Integer = $2;
- const FBX_INTERPOLATION_LINEAR : Integer = $4;
- const FBX_INTERPOLATION_CUBIC : Integer = $8;
- const FBX_WEIGHTED_NONE : Integer = $0;
- const FBX_WEIGHTED_RIGHT : Integer = $1000000;
- const FBX_WEIGHTED_NEXT_LEFT : Integer = $2000000;
- const FBX_WEIGHTED_ALL : Integer = $3000000;
- const FBX_CONSTANT_STANDARD : Integer = $0;
- const FBX_CONSTANT_NEXT : Integer = $100;
- const FBX_VELOCITY_NONE : Integer = $0;
- const FBX_VELOCITY_RIGHT : Integer = $10000000;
- const FBX_VELOCITY_NEXT_LEFT : Integer = $20000000;
- const FBX_VELOCITY_ALL : Integer = $30000000;
- const FBX_TANGENT_SHOW_NONE : Integer = $0;
- const FBX_TANGENT_SHOW_LEFT : Integer = $100000;
- const FBX_TANGENT_SHOW_RIGHT : Integer = $200000;
- const FBX_TANGENT_SHOW_BOTH : Integer = $300000;
- const FBX_RIGHT_SLOPE : Integer = $0;
- const FBX_NEXT_LEFT_SLOPE : Integer = $1;
- const FBX_WEIGHTS : Integer = $2;
- const FBX_RIGHT_WEIGHT : Integer = $2;
- const FBX_NEXT_LEFT_WEIGHT : Integer = $3;
- const FBX_VELOCITY : Integer = $4;
- const FBX_RIGHT_VELOCITY : Integer = $4;
- const FBX_NEXT_LEFT_VELOCITY : Integer = $5;
- const FBX_TCB_TENSION : Integer = $0;
- const FBX_TCB_CONTINUITY : Integer = $1;
- const FBX_TCB_BIAS : Integer = $2;
- const FBX_CURVENODE_TRANSFORM : string = "Transform";
- const FBX_CURVENODE_TRANSLATION : Char = $54;
- const FBX_CURVENODE_ROTATION : Char = $52;
- const FBX_CURVENODE_SCALING : Char = $53;
- const FBX_CURVENODE_COMPONENT_X : Char = $58;
- const FBX_CURVENODE_COMPONENT_Y : Char = $59;
- const FBX_CURVENODE_COMPONENT_Z : Char = $5A;
- const FBX_CURVENODE_COLOR : string = "Color";
- const FBX_CURVENODE_COLOR_RED : Char = $58;
- const FBX_CURVENODE_COLOR_GREEN : Char = $59;
- const FBX_CURVENODE_COLOR_BLUE : Char = $5A;
- const FBX_KFCURVE_CONSTANT_STANDARD : Integer = $0;
- const FBX_KFCURVE_CONSTANT_NEXT : Integer = $100;
- const FBX_KFCURVE_CONSTANT_ALL : Integer = $100;
- const FBX_KFCURVE_CONSTANT_COUNT : Integer = $2;
- const FBX_KFCURVE_TANGEANT_AUTO : Integer = $100;
- const FBX_KFCURVE_TANGEANT_TCB : Integer = $200;
- const FBX_KFCURVE_TANGEANT_USER : Integer = $400;
- const FBX_KFCURVE_GENERIC_BREAK : Integer = $800;
- const FBX_KFCURVE_GENERIC_CLAMP : Integer = $1000;
- const FBX_KFCURVE_GENERIC_TIME_INDEPENDENT : Integer = $2000;
- const FBX_KFCURVE_TANGEANT_BREAK : Integer = $C00;
- const FBX_KFCURVE_TANGEANT_AUTO_BREAK : Integer = $900;
- const FBX_KFCURVE_TANGEANT_ALL : Integer = $3F00;
- const FBX_KFCURVE_TANGEANT_TYPE_MASK : Integer = $F00;
- const FBX_KFCURVE_TANGEANT_OVERRIDES_MASK : Integer = $3000;
- const FBX_KFCURVE_SELECT_POINT : Integer = $10000;
- const FBX_KFCURVE_SELECT_LEFT : Integer = $20000;
- const FBX_KFCURVE_SELECT_RIGHT : Integer = $40000;
- const FBX_KFCURVE_SELECT_ALL : Integer = $70000;
- const FBX_KFCURVE_MARKED_FOR_MANIP : Integer = $80000;
- const FBX_KFCURVE_MARKED_ALL : Integer = $80000;
- const FBX_KFCURVE_TANGEANT_SHOW_NONE : Integer = $0;
- const FBX_KFCURVE_TANGEANT_SHOW_LEFT : Integer = $100000;
- const FBX_KFCURVE_TANGEANT_SHOW_RIGHT : Integer = $200000;
- const FBX_KFCURVE_TANGEANT_SHOW_BOTH : Integer = $300000;
- const FBX_KFCURVE_CONTINUITY : Integer = $0;
- const FBX_KFCURVE_CONTINUITY_FLAT : Integer = $100000;
- const FBX_KFCURVE_CONTINUITY_BREAK : Integer = $200000;
- const FBX_KFCURVE_CONTINUITY_INSERT : Integer = $400000;
- const FBX_KFCURVE_WEIGHTED_NONE : Integer = $0;
- const FBX_KFCURVE_WEIGHTED_RIGHT : Integer = $1000000;
- const FBX_KFCURVE_WEIGHTED_NEXT_LEFT : Integer = $2000000;
- const FBX_KFCURVE_WEIGHTED_ALL : Integer = $3000000;
- const FBX_KFCURVE_VELOCITY_NONE : Integer = $0;
- const FBX_KFCURVE_VELOCITY_RIGHT : Integer = $10000000;
- const FBX_KFCURVE_VELOCITY_NEXT_LEFT : Integer = $20000000;
- const FBX_KFCURVE_VELOCITY_ALL : Integer = $30000000;
- const FBX_MATERIAL_NAME_SUFFIX : string = "Mat";
- const FBX_CTRL_NAME_PREFFIX : string = "Controller";
- const FBX_DEFORMER_NAME_SUFFIX : string = "Deformer";
- const FBX_SKIN_NAME_SUFFIX : string = "Skin";
- const FBX_ARMATURE_NAME : string = "Armature";
- const FBX_NODETYPE_GLOBALSETTINGS : string = "GlobalSettings";
- const FBX_NODETYPE_CONNECTIONS : string = "Connections";
- const FBX_NODETYPE_DEFINITIONS : string = "Definitions";
- const FBX_NODETYPE_OBJECTS : string = "Objects";
- const FBX_NODETYPE_MODEL : string = "Model";
- const FBX_NODETYPE_MESH : string = "Mesh";
- const FBX_NODETYPE_LINE : string = "Line";
- const FBX_NODETYPE_NURBSCURVE : string = "NurbsCurve";
- const FBX_NODETYPE_GEOMETRY : string = "Geometry";
- const FBX_NODETYPE_MATERIAL : string = "Material";
- const FBX_NODETYPE_MATERIALS : string = "Materials";
- const FBX_NODETYPE_TEXTURE : string = "Texture";
- const FBX_NODETYPE_LAYEREDTEXTURE : string = "LayeredTexture";
- const FBX_NODETYPE_DEFORMER : string = "Deformer";
- const FBX_NODETYPE_POSE : string = "Pose";
- const FBX_NODETYPE_SKIN : string = "Skin";
- const FBX_NODETYPE_CLUSTER : string = "Cluster";
- const FBX_NODETYPE_NULL : string = "Null";
- const FBX_NODETYPE_LIMBNODE : string = "LimbNode";
- const FBX_NODETYPE_LAYER_ELEMENT_MAT : string = "LayerElementMaterial";
- const FBX_NODETYPE_NODEATTR : string = "NodeAttribute";
- const FBX_NODETYPE_ANIMSTACK : string = "AnimationStack";
- const FBX_NODETYPE_ANIMLAYER : string = "AnimationLayer";
- const FBX_NODETYPE_ANIMCURVE : string = "AnimationCurve";
- const FBX_NODETYPE_ANIMCURVENODE : string = "AnimationCurveNode";
- const FBX_NODETYPE_WEIGHTS : string = "Weights";
- const FBX_NODETYPE_INDEXES : string = "Indexes";
- const FBX_NODETYPE_KEYVALUEFLOAT : string = "KeyValueFloat";
- const FBX_NODETYPE_KEYVER : string = "KeyVer";
- const FBX_NODETYPE_KEYTIME : string = "KeyTime";
- const FBX_NODETYPE_KEYATTRFLAGS : string = "KeyAttrFlags";
- const FBX_NODETYPE_MEDIA : string = "Media";
- const FBX_NODETYPE_VIDEO : string = "Video";
- const FBX_NODETYPE_CONTENT : string = "Content";
- const FBX_NODETYPE_RELATIVEFILENAME : string = "RelativeFilename";
- const FBX_NODETYPE_PROPERTIES70 : string = "Properties70";
- const FBX_NODETYPE_PROP : Char = $50;
- const FBX_NODETYPE_TRANSFORM : string = "Transform";
- const FBX_NODETYPE_TRANSFORMLINK : string = "TransformLink";
- const FBX_NODETYPE_TRANSFORMASSOC : string = "TransformAssociateModel";
- const FBX_NODETYPE_OBJECTTYPE : string = "ObjectType";
- const FBX_NODETYPE_PROPERTYTEMPLATE : string = "PropertyTemplate";
- const FBX_NODETYPE_LAYERELEMENT_NORMAL : string = "LayerElementNormal";
- const FBX_NODETYPE_LAYERELEMENT_BINORMAL : string = "LayerElementBinormal";
- const FBX_NODETYPE_LAYERELEMENT_TANGENT : string = "LayerElementTangent";
- const FBX_NODETYPE_LAYERELEMENT_UV : string = "LayerElementUV";
- const FBX_NODETYPE_VERTICES : string = "Vertices";
- const FBX_NODETYPE_POLYGONVERTEXINDEX : string = "PolygonVertexIndex";
- const FBX_NODETYPE_NORMALS : string = "Normals";
- const FBX_NODETYPE_BINORMALS : string = "Binormals";
- const FBX_NODETYPE_TANGENTS : string = "Tangents";
- const FBX_NODETYPE_NORMALSINDEX : string = "NormalsIndex";
- const FBX_NODETYPE_BINORMALSINDEX : string = "BinormalsIndex";
- const FBX_NODETYPE_TANGENTSINDEX : string = "TangentsIndex";
- const FBX_NODETYPE_NAME : string = "Name";
- const FBX_NODETYPE_UVMAP : string = "UVMap";
- const FBX_NODETYPE_UVW : string = "UVW";
- const FBX_NODETYPE_UV : string = "UV";
- const FBX_NODETYPE_UVINDEX : string = "UVIndex";
- const FBX_NODETYPE_MAPPINGINFOTYPE : string = "MappingInformationType";
- const FBX_NODETYPE_REFINFOTYPE : string = "ReferenceInformationType";
- const FBX_MAPPINGINFOTYPE_BYPOLYGON : string = "ByPolygon";
- const FBX_MAPPINGINFOTYPE_BYPOLYGONVERTEX : string = "ByPolygonVertex";
- const FBX_MAPPINGINFOTYPE_BYVERTEX : string = "ByVertex";
- const FBX_MAPPINGINFOTYPE_BYVERTICE : string = "ByVertice";
- const FBX_MAPPINGINFOTYPE_BYEDGE : string = "ByEdge";
- const FBX_MAPPINGINFOTYPE_ALLSAME : string = "AllSame";
- const FBX_REFERENCEINFOTYPE_DIRECT : string = "Direct";
- const FBX_REFERENCEINFOTYPE_INDEXTODIRECT : string = "IndexToDirect";
- const FBX_REFERENCEINFOTYPE_INDEX : string = "Index";
- const FBX_TYPE_KSTRING : string = "kstring";
- const FBX_TYPE_KTIME : string = "ktime";
- const FBX_TYPE_BOOL : string = "bool";
- const FBX_TYPE_COLOR : string = "color";
- const FBX_TYPE_COLORRGB : string = "colorrgb";
- const FBX_TYPE_DOUBLE : string = "double";
- const FBX_TYPE_ENUM : string = "enum";
- const FBX_TYPE_INT : string = "int";
- const FBX_TYPE_SHORT : string = "short";
- const FBX_TYPE_ULONGLONG : string = "ulonglong";
- const FBX_TYPE_NUMBER : string = "number";
- const FBX_TYPE_VECTOR3D : string = "vector3d";
- const FBX_TYPE_VECTOR : string = "vector";
- const FBX_TYPE_VISIBILITY : string = "visibility";
- const FBX_TYPE_WEIGHT : string = "weight";
- const FBX_TYPE_LCL_SCALING : string = "lcl scaling";
- const FBX_TYPE_LCL_ROTATION : string = "lcl rotation";
- const FBX_TYPE_LCL_TRANSLATION : string = "lcl translation";
- const FBX_TYPE_PRE_ROTATION : string = "PreRotation";
- const FBX_TYPE_POST_ROTATION : string = "PostRotation";
- const FBX_TYPE_ROTATION_PIVOT_INVERSE : string = "RotationPivotInverse";
- const FBX_TYPE_SCALING_PIVOT_INVERSE : string = "ScalingPivotInverse";
- const FBX_TYPE_SCALING_OFFSET : string = "ScalingOffset";
- const FBX_TYPE_SCALING_PIVOT : string = "ScalingPivot";
- const FBX_TYPE_ROTATION_OFFSET : string = "RotationOffset";
- const FBX_TYPE_ROTATION_Pivot : string = "RotationPivot";
- const FBX_TYPE_GEOMETRIC_TRANSLATION : string = "GeometricTranslation";
- const FBX_TYPE_GEOMETRIC_ROTATION : string = "GeometricRotation";
- const FBX_TYPE_GEOMETRIC_SCALING : string = "GeometricScaling";
- const FBX_TYPE_GEOMETRIC_TRANSLATION_INVERSE : string = "GeometricTranslationInverse";
- const FBX_TYPE_GEOMETRIC_ROTATION_INVERSE : string = "GeometricRotationInverse";
- const FBX_TYPE_GEOMETRIC_SCALING_INVERSE : string = "GeometricScalingInverse";
- const FBX_TYPE_INHERIT_TYPE : string = "InheritType";
- const FBX_TYPE_DOUBLE_X : string = "d|X";
- const FBX_TYPE_DOUBLE_Y : string = "d|Y";
- const FBX_TYPE_DOUBLE_Z : string = "d|Z";
- const FBX_TYPE_DOUBLE_W : string = "d|W";
- const FBX_PROP_COLOR_AMBIENT : string = "AmbientColor";
- const FBX_PROP_COLOR_DIFFUSE : string = "DiffuseColor";
- const FBX_PROP_COLOR_EMISSIVE : string = "EmissiveColor";
- const FBX_PROP_COLOR_SPECULAR : string = "SpecularColor";
- const FBX_PROP_NORMALMAP : string = "NormalMap";
- const FBX_PROP_BUMP : string = "Bump";
- const FBX_PROP_COLOR_DISPLACE : string = "DisplacementColor";
- const FBX_PROP_COLOR_REFLECT : string = "ReflectionColor";
- const FBX_PROP_COLOR_TRANSPARENT : string = "TransparentColor";
- const FBX_PROP_COLOR_VECTORDISPL : string = "VectorDisplacementColor";
- const FBX_PROP_FACTOR_AMBIENT : string = "AmbientFactor";
- const FBX_PROP_FACTOR_DIFFUSE : string = "DiffuseFactor";
- const FBX_PROP_FACTOR_EMISSIVE : string = "EmissiveFactor";
- const FBX_PROP_FACTOR_SPECULAR : string = "SpecularFactor";
- const FBX_PROP_FACTOR_BUMP : string = "BumpFactor";
- const FBX_PROP_FACTOR_DISPLACE : string = "DisplacementFactor";
- const FBX_PROP_FACTOR_REFLECT : string = "ReflectionFactor";
- const FBX_PROP_FACTOR_TRANSPARENT : string = "TransparencyFactor";
- const FBX_PROP_FACTOR_VECTORDISPL : string = "VectorDisplacementFactor";
- const FBX_PROP_MAYA : string = "Maya|";
- const FBX_PROP_MAYA_TYPEID : string = "TypeId";
- const FBX_PROP_MAYA_OUTALPHA : string = "outAlpha";
- const FBX_PROP_MAYA_normalCamera : string = "normalCamera";
- const FBX_PROP_MAYA_aiEnableMatte : string = "aiEnableMatte";
- const FBX_PROP_MAYA_aiMatteColor : string = "aiMatteColor";
- const FBX_PROP_MAYA_aiMatteColorA : string = "aiMatteColorA";
- const FBX_PROP_MAYA_BASE : string = "base";
- const FBX_PROP_MAYA_BASE_COLOR : string = "baseColor";
- const FBX_PROP_MAYA_DIFFUSE_ROUGHNESS : string = "diffuseRoughness";
- const FBX_PROP_MAYA_SPECULAR : string = "specular";
- const FBX_PROP_MAYA_SPECULAR_COLOR : string = "specularColor";
- const FBX_PROP_MAYA_SPECULAR_ROUGHNESS : string = "specularRoughness";
- const FBX_PROP_MAYA_specularIOR : string = "specularIOR";
- const FBX_PROP_MAYA_specularAnisotropy : string = "specularAnisotropy";
- const FBX_PROP_MAYA_specularRotation : string = "specularRotation";
- const FBX_PROP_MAYA_METALNESS : string = "metalness";
- const FBX_PROP_MAYA_TRANSMISSION : string = "transmission";
- const FBX_PROP_MAYA_transmissionColor : string = "transmissionColor";
- const FBX_PROP_MAYA_transmissionDepth : string = "transmissionDepth";
- const FBX_PROP_MAYA_transmissionScatter : string = "transmissionScatter";
- const FBX_PROP_MAYA_transmissionScatterAnisotropy : string = "transmissionScatterAnisotropy";
- const FBX_PROP_MAYA_transmissionDispersion : string = "transmissionDispersion";
- const FBX_PROP_MAYA_transmissionExtraRoughness : string = "transmissionExtraRoughness";
- const FBX_PROP_MAYA_transmitAovs : string = "transmitAovs";
- const FBX_PROP_MAYA_subsurface : string = "subsurface";
- const FBX_PROP_MAYA_subsurfaceColor : string = "subsurfaceColor";
- const FBX_PROP_MAYA_subsurfaceRadius : string = "subsurfaceRadius";
- const FBX_PROP_MAYA_subsurfaceScale : string = "subsurfaceScale";
- const FBX_PROP_MAYA_subsurfaceAnisotropy : string = "subsurfaceAnisotropy";
- const FBX_PROP_MAYA_subsurfaceType : string = "subsurfaceType";
- const FBX_PROP_MAYA_sheen : string = "sheen";
- const FBX_PROP_MAYA_sheenColor : string = "sheenColor";
- const FBX_PROP_MAYA_sheenRoughness : string = "sheenRoughness";
- const FBX_PROP_MAYA_thinWalled : string = "thinWalled";
- const FBX_PROP_MAYA_tangent : string = "tangent";
- const FBX_PROP_MAYA_coat : string = "coat";
- const FBX_PROP_MAYA_coatColor : string = "coatColor";
- const FBX_PROP_MAYA_coatRoughness : string = "coatRoughness";
- const FBX_PROP_MAYA_coatIOR : string = "coatIOR";
- const FBX_PROP_MAYA_coatAnisotropy : string = "coatAnisotropy";
- const FBX_PROP_MAYA_coatRotation : string = "coatRotation";
- const FBX_PROP_MAYA_coatNormal : string = "coatNormal";
- const FBX_PROP_MAYA_thinFilmThickness : string = "thinFilmThickness";
- const FBX_PROP_MAYA_thinFilmIOR : string = "thinFilmIOR";
- const FBX_PROP_MAYA_emission : string = "emission";
- const FBX_PROP_MAYA_emissionColor : string = "emissionColor";
- const FBX_PROP_MAYA_opacity : string = "opacity";
- const FBX_PROP_MAYA_caustics : string = "caustics";
- const FBX_PROP_MAYA_internalReflections : string = "internalReflections";
- const FBX_PROP_MAYA_exitToBackground : string = "exitToBackground";
- const FBX_PROP_MAYA_indirectDiffuse : string = "indirectDiffuse";
- const FBX_PROP_MAYA_indirectSpecular : string = "indirectSpecular";
- const FBX_PROP_MAYA_dielectricPriority : string = "dielectricPriority";
- const FBX_PROP_MAYA_aovId1 : string = "aovId1";
- const FBX_PROP_MAYA_id1 : string = "id1";
- const FBX_PROP_MAYA_aovId2 : string = "aovId2";
- const FBX_PROP_MAYA_id2 : string = "id2";
- const FBX_PROP_MAYA_aovId3 : string = "aovId3";
- const FBX_PROP_MAYA_id3 : string = "id3";
- const FBX_PROP_MAYA_aovId4 : string = "aovId4";
- const FBX_PROP_MAYA_id4 : string = "id4";
- const FBX_PROP_MAYA_aovId5 : string = "aovId5";
- const FBX_PROP_MAYA_id5 : string = "id5";
- const FBX_PROP_MAYA_aovId6 : string = "aovId6";
- const FBX_PROP_MAYA_id6 : string = "id6";
- const FBX_PROP_MAYA_aovId7 : string = "aovId7";
- const FBX_PROP_MAYA_id7 : string = "id7";
- const FBX_PROP_MAYA_aovId8 : string = "aovId8";
- const FBX_PROP_MAYA_id8 : string = "id8";
- const FBX_PROP_MAYA_normalCameraUsedAs : string = "normalCameraUsedAs";
- const FBX_PROP_MAYA_normalCameraFactor : string = "normalCameraFactor";
- const FBX_PROP_COLOR_MAYA_DIFFUSE : string = "DiffuseTexture";
- const FBX_PROP_COLOR_MAYA_NORMALMAP : string = "NormalTexture";
- const FBX_PROP_COLOR_MAYA_SPECULARMAP : string = "SpecularTexture";
- const FBX_PROP_COLOR_MAYA_FALLOFFMAP : string = "FalloffTexture";
- const FBX_PROP_COLOR_MAYA_REFLECTIONMAP : string = "ReflectionMapTexture";
- const FBX_PROP_COLOR_MAYA_PBR_BASECOLOR : string = "baseColor";
- const FBX_PROP_COLOR_MAYA_PBR_NORMALCAMERA : string = "normalCamera";
- const FBX_PROP_COLOR_MAYA_PBR_EMISSIONCOLOR : string = "emissionColor";
- const FBX_PROP_COLOR_MAYA_PBR_METALNESS : string = "metalness";
- const FBX_PROP_COLOR_MAYA_PBR_ROUGHNESS : string = "diffuseRoughness";
- const FBX_PROP_COLOR_MAYA_STINGRAY_COLORMAP : string = "TEX_color_map";
- const FBX_PROP_COLOR_MAYA_STINGRAY_NORMALMAP : string = "TEX_normal_map";
- const FBX_PROP_COLOR_MAYA_STINGRAY_EMISSIVEMAP : string = "TEX_emissive_map";
- const FBX_PROP_COLOR_MAYA_STINGRAY_METALLICMAP : string = "TEX_metallic_map";
- const FBX_PROP_COLOR_MAYA_STINGRAY_ROUGHNESSMAP : string = "TEX_roughness_map";
- const FBX_PROP_COLOR_MAYA_STINGRAY_AOMAP : string = "TEX_ao_map";
- const FBX_PROP_3DSMAX : string = "3dsMax|";
- const FBX_PROP_COLOR_3DSMAX_COLORMAP : string = "Parameters|base_color_map";
- const FBX_PROP_COLOR_3DSMAX_BUMPMAP : string = "Parameters|bump_map";
- const FBX_PROP_COLOR_3DSMAX_EMISSIONMAP : string = "Parameters|emission_map";
- const FBX_PROP_COLOR_3DSMAX_METALNESSMAP : string = "Parameters|metalness_map";
- const FBX_PROP_COLOR_3DSMAX_ROUGHNESSMAP : string = "Parameters|roughness_map";
- const FBX_PROP_COLOR_3DSMAX_PBR_COLORMAP : string = "main|base_color_map";
- const FBX_PROP_COLOR_3DSMAX_PBR_NORMALMAP : string = "main|norm_map";
- const FBX_PROP_COLOR_3DSMAX_PBR_EMITCOLORMAP : string = "main|emit_color_map";
- const FBX_PROP_COLOR_3DSMAX_PBR_AOMAP : string = "main|ao_map";
- const FBX_PROP_COLOR_3DSMAX_PBR_OPACITYMAP : string = "main|opacity_map";
- const FBX_PROP_COLOR_3DSMAX_PBR_METALNESSMAP : string = "3dsMax|main|metalness_map";
- const FBX_PROP_COLOR_3DSMAX_PBR_SPECULARMAP : string = "3dsMax|main|specular_map";
- const FBX_PROP_MULTILAYER : string = "MultiLayer";
- const FBX_PROP_OPACITY : string = "Opacity";
- const FBX_PROP_SHADINGMODEL : string = "ShadingModel";
- const FBX_PROP_SHININESS : string = "Shininess";
- const FBX_PROP_SHINEEXP : string = "ShininessExponent";
- const FBX_PROP_REFLECTIVITY : string = "Reflectivity";
- const FBX_PROP_GLOBAL_UPAXIS : string = "UpAxis";
- const FBX_PROP_GLOBAL_UPAXIS_SIGN : string = "UpAxisSign";
- const FBX_PROP_GLOBAL_FRONTAXIS : string = "FrontAxis";
- const FBX_PROP_GLOBAL_FRONTAXIS_SIGN : string = "FrontAxisSign";
- const FBX_PROP_GLOBAL_COORDAXIS : string = "CoordAxis";
- const FBX_PROP_GLOBAL_COORDAXIS_SIGN : string = "CoordAxisSign";
- const FBX_PROP_GLOBAL_ORIGINAL_UPAXIS : string = "OriginalUpAxis";
- const FBX_PROP_GLOBAL_ORIGINAL_UPAXIS_SIGN : string = "OriginalUpAxisSign";
- const FBX_PROP_GLOBAL_UNITSCALEFACTOR : string = "UnitScaleFactor";
- const FBX_PROP_GLOBAL_ORIGINAL_UNITSCALEFACTOR : string = "OriginalUnitScaleFactor";
- const FBX_PROP_GLOBAL_AMBIENTCOLOR : string = "AmbientColor";
- const FBX_PROP_GLOBAL_DEFAULTCAMERA : string = "DefaultCamera";
- const FBX_PROP_GLOBAL_TIMEMODE : string = "TimeMode";
- const FBX_PROP_GLOBAL_TIMEPROTOCOL : string = "TimeProtocol";
- const FBX_PROP_GLOBAL_SNAPONFRAMEMODE : string = "SnapOnFrameMode";
- const FBX_PROP_GLOBAL_TIMESPANSTART : string = "TimeSpanStart";
- const FBX_PROP_GLOBAL_TIMESPANSTOP : string = "TimeSpanStop";
- const FBX_PROP_GLOBAL_CUSTOMFRAMERATE : string = "CustomFrameRate";
- const FBX_PROP_GLOBAL_TIMEMARKER : string = "TimeMarker";
- const FBX_PROP_GLOBAL_CURRENTTIMEMARKER : string = "CurrentTimeMarker";
- const FBX_SHADING_LAMBERT : string = "Lambert";
- const FBX_SHADING_PHONG : string = "Phong";
- const FBX_SHADING_BLINN : string = "Blinn";
- const FBX_CONNECTION_OBJECT_OBJECT : string = "OO";
- const FBX_CONNECTION_OBJECT_PROP : string = "OP";
- const FBX_CONNECTION_PROP_PROP : string = "PP";
- const FBX_INTERPOLATOR_PATH_T : string = "Position.Point";
- const FBX_INTERPOLATOR_PATH_R : string = "RotationAngle.Point";
- const FBX_INTERPOLATOR_PATH_S : string = "Scale.Point";
- const FBX_INTERPOLATOR_PATH_QUATERNION : string = "Quaternion";
- const FBX_SEGMENT_ID : string = "%%s_Seg";
Mics. types
- type PFBXConnection = pointer to TFBXConnection;
- type PFBXJoint = pointer to TFBXJoint;
- type PFBXSkeleton = pointer to TFBXSkeleton;
Functions / Procedures
TFBXMappingInformationType
"ByPolygon": It means that there is a normal for every polygon of the model. "ByPolygonVertex": It means that there is a normal for every vertex of every polygon of the model. For example, if the models has 8 vertices that make up four quads, then there will be 16 normals (one normal * 4 polygons * 4 vertices of the polygon). Note that generally a game engine needs the vertices to have only one normal defined. So, if you find a vertex has more tha one normal, you can either ignore the normals you find after the first, or calculate the mean from all of them (normal smoothing). "ByVertex": It means that there is a normal for every vertex of the model. "ByEdge": It means that there is a normal for every edge of the model (rare). "AllSame": It means that there is a normal that is the same for every vertex of the model (rare or impossible for most models).
TFBXReferenceInformationType
"Direct": The normals are in order. "IndexToDirect" (or Index for older versions of the FBX format): The order of the normals is given by the NormalsIndex property.
TFBXInheritType
eInheritRrSs - switches up the order so the local rotation is applied before any scaling is done.
eInheritRSrs - is what we're all used to: the effective local transform consists of applying the parent's global rotation and scale, then local rotation and scale.
eInheritRrs - literally ignores global scale, meaning the sub-hierarchy of the scene graph that hangs off the node in question becomes immune to any scaling done above it.
TFBXNodeFixedRecord
Fields
Methods
- public function EndOffset ( AVersion : Cardinal ) : Int64 ;
- public function NumProperties ( AVersion : Cardinal ) : Int64 ;
- public function PropertyListLength ( AVersion : Cardinal ) : Int64 ;
- public function NameLength ( AVersion : Cardinal ) : Byte ;
- public function IsNull ( AVersion : Cardinal ) : Boolean ;
- public function Size ( AVersion : Cardinal ) : Int64 ;
TFBXJoint
Fields
- public Node :
TFBXNode
- public Deformers :
TArray<Gorilla.FBX.Types.TFBXNode>
- public Name :
string
- public Parent :
PFBXJoint
- public Joints :
TArray<Gorilla.FBX.Types.PFBXJoint>
Methods
- public function Create ( ALimbNode : TFBXNode; ADeformerNode : TFBXNode ) : PFBXJoint ; static;
- public procedure Free ( ) ;
- public procedure AddJoint ( AJoint : PFBXJoint ) ;
- public function JointExists ( AJoint : PFBXJoint ) : Boolean ;
- public function FindJoint ( ANode : TFBXNode ) : PFBXJoint ;
- public procedure AddDeformer ( ADeformer : TFBXNode ) ;
- public function DeformerExists ( ADeformer : TFBXNode ) : Boolean ;
- public function DeepFindDeformer ( ADeformer : TFBXNode ) : PFBXJoint ;
- public procedure Sort ( ) ;
- public procedure Print ( ATab : string ) ;
TFBXSkeleton
Fields
- public Index :
Integer
- public Armature :
TArmatureDef
- public RootNode :
TFBXNode
- public Root :
PFBXJoint
- public Transform :
TMatrix3D
- public Cached :
TList<Gorilla.FBX.Types.PFBXJoint>
Methods
- public function Create ( AIndex : Integer ) : TFBXSkeleton ; static;
- public procedure Free ( ) ;
- public procedure CacheJoint ( AJt : PFBXJoint ) ;
- public function IsCached ( ANode : TFBXNode ) : PFBXJoint ; overload;
- public function FindJoint ( ANode : TFBXNode ) : PFBXJoint ;
- public procedure Sort ( ) ;
- public procedure Print ( ) ;
TCurveKeys
Fields
- public Index :
Int64
- public _Type :
TInterpolationType
- public ConstantMode :
TFBXConstantMode
- public TangeantMode :
TFBXTangeantMode
- public TangeantWeight :
TFBXTangeantWeight
- public TangeantVelocity :
TFBXTangeantVelocity
- public Times :
TInt64DynArray
- public Values :
TSingleDynArray
Methods
- public procedure Sort
(
)
;
Because FBX allows key time-value pairs in none-ascending order We have to sort the array.
- public procedure Normalize
(
)
;
Because FBX allows to provide negative time values, we have to adjust them after sorting.
TFBXProperty
TFBXNode
Ancestors
Members
Fields
- protected FParent :
TFBXNode
- protected FData :
TFBXNodeFixedRecord
- protected FId :
Int64
- protected FName :
string
- protected FProperties :
TFBXPropertyList
- protected FNodes :
TFBXNodeMap
- protected FDefinition :
TFBXDefinition
Methods
- public constructor Create ( const AParent : TFBXNode ) ;
- public destructor Destroy ( ) ;
- protected function GetPoint3DProperty ( AIndex : Integer ) : TPoint3D ;
- protected function GetVector3DProperty ( AIndex : Integer ) : TVector3D ;
- protected function GetNodeType ( ) : TFBXNodeType ;
- protected function GetNodeTypeStr ( ) : string ;
- protected function GetNodeTypeCode ( ) : string ;
- protected function GetNodeName ( ) : string ;
- protected function GetInheritType ( ) : TFBXInheritType ;
- public procedure ReadData ( const AStream : TStream; const ACache : TFBXCache ) ; virtual;
- public function FindNodes ( const AName : string ) : TFBXNodeList ; virtual;
- public function FindFirstNode ( const AName : string ) : TFBXNode ; virtual;
- public function FindNodeProperty ( const AName : string; const AIndex : Integer ) : TFBXProperty ; virtual;
- public function GetPropertyValue ( ) : TValue ;
- public function EvaluateLocalTransform ( ) : TMatrix3D ;
- public function GetParent ( ACache : TFBXCache ) : TFBXNode ;
- public function ToJSON ( ) : TJSONObject ;
Properties
- public Parent : TFBXNoderead FParent
- public Data : TFBXNodeFixedRecord
- public Id : Int64
- public Name : string
- public Properties : TObjectList<Gorilla.FBX.Types.TFBXProperty>read FProperties
- public Nodes : TDictionary<System.string,System.Generics.Collections.TObjectList<Gorilla.FBX.Types.TFBXNode>>read FNodes
- public Definition : TFBXDefinition
- public NodeType : TFBXNodeTyperead GetNodeType
- public NodeTypeStr : stringread GetNodeTypeStr
- public NodeTypeCode : stringread GetNodeTypeCode
- public NodeName : stringread GetNodeName
- public LclTranslation : TPoint3Dread GetPoint3DProperty
- public LclRotation : TPoint3Dread GetPoint3DProperty
- public LclScaling : TPoint3Dread GetPoint3DProperty
- public GeometricScaling : TPoint3Dread GetPoint3DProperty
- public GeometricRotation : TPoint3Dread GetPoint3DProperty
- public GeometricTranslation : TPoint3Dread GetPoint3DProperty
- public PreRotation : TVector3Dread GetVector3DProperty
- public PostRotation : TVector3Dread GetVector3DProperty
- public ScalingOffset : TVector3Dread GetVector3DProperty
- public ScalingPivot : TVector3Dread GetVector3DProperty
- public RotationOffset : TVector3Dread GetVector3DProperty
- public RotationPivot : TVector3Dread GetVector3DProperty
- public InvScalingPivot : TVector3Dread GetVector3DProperty
- public InvRotationPivot : TVector3Dread GetVector3DProperty
- public InheritType : TFBXInheritTyperead GetInheritType
TFBXConnections
Ancestors
Members
Fields
Methods
- public constructor Create ( ) ;
- public destructor Destroy ( ) ;
- protected procedure DoOnBufferValueNotify ( ASender : TObject; const AItem : PFBXConnection; AAction : TCollectionNotification ) ;
- protected procedure DoOnMapValueNotify ( ASender : TObject; const AItem : TFBXConnectionSubMap; AAction : TCollectionNotification ) ;
- protected procedure DoOnSubMapValueNotify ( ASender : TObject; const AItem : TFBXConnectionSubSubMap; AAction : TCollectionNotification ) ;
- public procedure AddConnection ( const AKind : TFBXConnectionKind; ANode1 : TFBXNode; ANode2 : TFBXNode; AData : string = ) ; overload;
- public procedure AddOrReplaceConnection ( const AKind : TFBXConnectionKind; ANode1 : TFBXNode; ANode2 : TFBXNode; AData : string = ) ; overload;
- public function GetConnection ( const ANode1 : TFBXNode; const ANode2 : TFBXNode; const AData : string = ) : PFBXConnection ;
- public function GetConnections ( const ANode : TFBXNode ) : TFBXConnectionList ;
TFBXDefinition
Ancestors
Members
TFBXCache
Ancestors
Members
Fields
- protected FRoot :
TFBXNode
- protected FNodes :
TFBXNodeList
- protected FNodeByHash :
TFBXNodeHashMap
- protected FConnections :
TFBXConnections
- protected FCurrentMaterial :
TMaterialDef
- public Header :
TFBXHeader
- public MaterialMap :
TFBXMaterialMap
- public Skeletons :
TList<Gorilla.FBX.Types.PFBXSkeleton>
- public DefaultSkeleton :
PFBXSkeleton
- public ControllerCount :
Integer
- public SeparatedAnimationFile :
string
Methods
- public constructor Create ( ) ;
- public destructor Destroy ( ) ;
- public procedure Clear ( ) ;
- public function GetSkeletonByDeformer ( ADeformer : TFBXNode ) : PFBXSkeleton ;
- public function SkeletonExistsByDeformer ( ARootDeformer : TFBXNode ) : Boolean ;
- public function SkeletonExistsByLimbNode ( ANode : TFBXNode ) : Boolean ;
- public function DoOnCreateDefaultMaterial ( AMesh : TMeshDef ) : TMaterialDef ; override;
- public function DoOnCreateMaterialRef ( AMesh : TMeshDef; AMaterial : TMaterialDef ) : TMaterialRefDef ; override;