Gorilla.Babylon.Model
Unit Gorilla.Babylon.Model.pasClasses
- TBabylonCache = class ( TVertexCache )
- TBabylonModel = class ( TModelDef )
Records
- record TBabylonMeshBufferItem
TBabylonCache
Ancestors
Members
TBabylonModel
Ancestors
Members
Fields
- protected FJSON :
TJSONObject
- protected FEmptyMaterial :
TMaterialDef
- protected FOrderedMaterials :
TList<Gorilla.DefTypes.TMaterialDef>
Methods
- public constructor Create ( const AOwner : TMeshDef; const APackage : TObject ) ;
- public destructor Destroy ( ) ;
- protected function GetAlphaColorF ( AArray : TJSONArray ) : TAlphaColorF ;
- protected function GetAlphaColor3F ( AArray : TJSONArray ) : TAlphaColorF ;
- protected function GetPoint3D ( AArray : TJSONArray ) : TPoint3D ;
- protected function GetVector3D ( AArray : TJSONArray ) : TVector3D ;
- protected function GetQuaternion3D ( AArray : TJSONArray ) : TQuaternion3D ;
- protected function GetArrayOfInt ( AArray : TJSONArray ) : TArray<System.Integer> ;
- protected function GetArrayOfFloat ( AArray : TJSONArray ) : TArray<System.Single> ;
- protected function GetArrayOfPointF ( AArray : TJSONArray ) : TArray<System.Types.TPointF> ;
- protected function GetArrayOfPoint3D ( AArray : TJSONArray ) : TArray<System.Math.Vectors.TPoint3D> ;
- protected function GetArrayOfVector3D ( AArray : TJSONArray ) : TArray<System.Math.Vectors.TVector3D> ;
- protected function GetArrayOfQuaternion3D ( AArray : TJSONArray ) : TArray<System.Math.Vectors.TQuaternion3D> ;
- protected function GetArrayOfAlphaColorF ( AArray : TJSONArray ) : TArray<System.UITypes.TAlphaColorF> ;
- protected function GetArrayOfMatrix3D ( AArray : TJSONArray ) : TArray<System.Math.Vectors.TMatrix3D> ;
- protected procedure DoLoadCameras ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadCamera ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadLights ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadLight ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadReflectionProbes ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadReflectionProbe ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadMaterials ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected function DoLoadMaterial ( ACache : TBabylonCache; AJSON : TJSONObject ) : TMaterialDef ;
- protected procedure DoLoadFresnelParameters ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected function DoLoadTexture ( ACache : TBabylonCache; AJSON : TJSONObject; AMaterial : TMaterialDef; AChannel : TColorChannelDef ) : TTextureDef ;
- protected procedure DoLoadMultiMaterials ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadMultiMaterial ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadGeometries ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadVertexData ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadMeshes ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected function DoLoadMesh ( ACache : TBabylonCache; AJSON : TJSONObject; out AItem : TBabylonMeshBufferItem ) : Boolean ;
- protected function DoLoadSubMesh ( ACache : TBabylonCache; AParent : TMeshDef; AJSON : TJSONObject; AIndices : TArray<System.Integer> ) : TMeshDef ;
- protected procedure DoLoadInstances ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadInstance ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadShadowGenerators ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadShadowGenerator ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadSkeletons ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadSkeleton ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadParticleSystems ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadParticleSystem ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadLensFlareSystems ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadLensFlareSystem ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadActions ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadAction ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadSounds ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadSound ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadAnimations ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadAnimation ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoLoadAnimationKeys ( ACache : TBabylonCache; AJSON : TJSONArray ) ;
- protected procedure DoLoadAnimationKey ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- protected procedure DoRead ( ACache : TBabylonCache; AJSON : TJSONObject ) ;
- public procedure LoadFromFile ( const AFileName : string ) ; virtual;
- public procedure LoadFromStream ( const AStream : TStream; const APath : string ) ; virtual;