Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Releases unmanaged and - optionally - managed resources.
|
Метод | Описание | |
---|---|---|
AddIndex ( int index ) : void |
Adds a new index to the primitive model. This should only be called during the initialization process, before InitializePrimitive. |
|
AddVertex ( System.Vector3 position, System.Vector3 normal ) : void |
Adds a new vertex to the primitive model. This should only be called during the initialization process, before InitializePrimitive. |
|
AddVertex ( System.Vector3 position, System.Vector3 normal, System.Vector2 texcoord ) : void |
Adds a new vertex to the primitive model. This should only be called during the initialization process, before InitializePrimitive. |
|
AddVertex ( System.Vector3 position, System.Vector3 normal, System.Vector3 tangent, System.Vector2 texcoord ) : void |
Adds a new vertex to the primitive model. This should only be called during the initialization process, before InitializePrimitive. |
|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources.
|
|
Geometric ( ) : System |
Initializes a new instance of the Geometric class.
|
|
GetSphericalTexCoord ( System.Vector3 normal ) : System.Vector2 |
Gets the spherical texture coordinates.
|
Метод | Описание | |
---|---|---|
CalculateTangentSpace ( ) : void |
Calculate tangent space of the geometry
|
protected AddIndex ( int index ) : void | ||
index | int | The index. |
Результат | void |
protected AddVertex ( System.Vector3 position, System.Vector3 normal ) : void | ||
position | System.Vector3 | The position. |
normal | System.Vector3 | The normal. |
Результат | void |
protected AddVertex ( System.Vector3 position, System.Vector3 normal, System.Vector2 texcoord ) : void | ||
position | System.Vector3 | The position. |
normal | System.Vector3 | The normal. |
texcoord | System.Vector2 | The texture coordinate. |
Результат | void |
protected AddVertex ( System.Vector3 position, System.Vector3 normal, System.Vector3 tangent, System.Vector2 texcoord ) : void | ||
position | System.Vector3 | The position. |
normal | System.Vector3 | The normal. |
tangent | System.Vector3 | The tangent. |
texcoord | System.Vector2 | The texture coordinate. |
Результат | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
protected GetSphericalTexCoord ( System.Vector3 normal ) : System.Vector2 | ||
normal | System.Vector3 | The normal. |
Результат | System.Vector2 |