C# Class Sunag.SEA3D.SEA3DAssimp

Exibir arquivo Open project: sunag/sea3d Class Usage Examples

Public Properties

Property Type Description
CalculateNormal bool
CalculateTangent bool
EmbedTexture bool
EnabledDummy bool
LimitBoneWeights bool
MeshOnly bool
Modifiers bool
OptimizeLevel int
Path string
SceneOnly bool

Public Methods

Method Description
Build ( ) : byte[]
Import ( Stream stream, string format ) : void
Import ( String filename ) : void
LoadSave ( ) : void
Save ( string filename ) : void
SaveDialog ( ) : void
To3x4Array ( Matrix4x4 matrix ) : float[]
ToFloat ( Assimp.Color3D color ) : float
ToFloat ( Color4D color ) : float
ToInteger ( Assimp.Color3D color ) : int
ToInteger ( Color4D color ) : int
ToPositionArray ( Matrix4x4 matrix ) : float[]

Private Methods

Method Description
AppendCamera ( Assimp.Scene scene, Assimp.Node node, Assimp.Camera camera, SEAObject3D parent ) : SEACamera
AppendDummy ( Assimp.Scene scene, Assimp.Node node, SEAObject3D parent ) : SEAObject3D
AppendGeometry ( Assimp.Scene scene, Assimp.Node node, List geometryList ) : SEAGeometry
AppendKeyFrameAnimation ( Assimp.Scene scene, Assimp.Animation animation ) : SEAAnimationBase
AppendLight ( Assimp.Scene scene, Assimp.Node node, Light light, SEAObject3D parent ) : SEAObject3D
AppendMaterial ( Assimp.Scene scene, Assimp.Material material ) : SEAMaterial
AppendMesh ( Assimp.Scene scene, Assimp.Node node, List meshes, SEAObject3D parent ) : SEAMesh
AppendObject3D ( Assimp.Scene scene, Assimp.Node node ) : SEAObject3D
AppendObject3D ( Assimp.Scene scene, Assimp.Node node, SEAObject3D parent ) : SEAObject3D
AppendScene ( Assimp.Scene scene ) : void
AppendSkeleton ( Assimp.Scene scene, Mesh mesh ) : SEASkeleton
AppendSkeletonAnimation ( Assimp.Scene scene, Mesh mesh ) : SEASkeleton
AppendTexture ( EmbeddedTexture texture ) : SEAObject
AppendTexture ( string url ) : SEAObject
AppendTextureFromSlot ( Assimp.Scene scene, Assimp.TextureSlot slot ) : SEAObject
GetAnimation ( Assimp.Scene scene, string name ) : List
GetConfig ( ) : PostProcessSteps
GetImporter ( ) : Assimp.AssimpContext
GetIndex ( SEAObject obj ) : int
GetIndexByTag ( object tag ) : int
GetUnrelatedObjectByNode ( Assimp.Node node, Assimp.Scene scene ) : object
GetValidString ( IEnumerable objects, string name ) : string
InitLog ( ) : void
OpenSaveFileDialog ( ) : void
getURL ( string url ) : string

Method Details

Build() public method

public Build ( ) : byte[]
return byte[]

Import() public method

public Import ( Stream stream, string format ) : void
stream Stream
format string
return void

Import() public method

public Import ( String filename ) : void
filename String
return void

LoadSave() public method

public LoadSave ( ) : void
return void

Save() public method

public Save ( string filename ) : void
filename string
return void

SaveDialog() public method

public SaveDialog ( ) : void
return void

To3x4Array() public method

public To3x4Array ( Matrix4x4 matrix ) : float[]
matrix Matrix4x4
return float[]

ToFloat() public method

public ToFloat ( Assimp.Color3D color ) : float
color Assimp.Color3D
return float

ToFloat() public method

public ToFloat ( Color4D color ) : float
color Color4D
return float

ToInteger() public static method

public static ToInteger ( Assimp.Color3D color ) : int
color Assimp.Color3D
return int

ToInteger() public static method

public static ToInteger ( Color4D color ) : int
color Color4D
return int

ToPositionArray() public method

public ToPositionArray ( Matrix4x4 matrix ) : float[]
matrix Matrix4x4
return float[]

Property Details

CalculateNormal public_oe property

public bool CalculateNormal
return bool

CalculateTangent public_oe property

public bool CalculateTangent
return bool

EmbedTexture public_oe property

public bool EmbedTexture
return bool

EnabledDummy public_oe property

public bool EnabledDummy
return bool

LimitBoneWeights public_oe property

public bool LimitBoneWeights
return bool

MeshOnly public_oe property

public bool MeshOnly
return bool

Modifiers public_oe property

public bool Modifiers
return bool

OptimizeLevel public_oe property

public int OptimizeLevel
return int

Path public_oe property

public string Path
return string

SceneOnly public_oe property

public bool SceneOnly
return bool