Method | Description | |
---|---|---|
CopyModelSpaceStateFrom ( this dest, IModelSpace source ) : void |
Copy IModelSpace state from specified source.
|
|
GetBoundingBox ( this model ) : |
|
|
GetMaxMinPosition ( this model, vec3 &maxPosition, vec3 &minPosition ) : void |
Gets max and min position of the AABB box that wraps specified model.
|
|
GetModelMatrix ( this model ) : CSharpGL.mat4 |
Get model matrix.
|
|
LegacyTransform ( this model ) : void |
Run legacy model transform.(from model space to world space)
|
|
Rotate ( this model, float angleDegree, vec3 axis ) : void |
Rotate this model based on all previous rotation actions. Thus all rotations will take part in model's rotation result. 在目前的旋转状态下继续旋转一次,即所有的旋转操作都会(按照发生顺序)生效。
|
public static CopyModelSpaceStateFrom ( this dest, IModelSpace source ) : void | ||
dest | this | |
source | IModelSpace | |
return | void |
public static GetBoundingBox ( this model ) : |
||
model | this | |
return |
public static GetMaxMinPosition ( this model, vec3 &maxPosition, vec3 &minPosition ) : void | ||
model | this | |
maxPosition | vec3 | |
minPosition | vec3 | |
return | void |
public static GetModelMatrix ( this model ) : CSharpGL.mat4 | ||
model | this | |
return | CSharpGL.mat4 |
public static LegacyTransform ( this model ) : void | ||
model | this | |
return | void |
public static Rotate ( this model, float angleDegree, vec3 axis ) : void | ||
model | this | |
angleDegree | float | Angle in Degree. |
axis | vec3 | |
return | void |