메소드 | 설명 | |
---|---|---|
GetBoundingBox ( int patchX, int patchZ ) : |
Gets the bounding box for the specified patches
|
|
GetHeight ( float x, float z ) : float |
Returns the height for a specified point.
|
|
GetMeshBufferForLOD ( |
Gets the meshbuffer data based on a specified level of detail.
|
|
OverrideLODDistance ( int LOD, double newDistance ) : void |
Override the default generation of distance thresholds.
|
|
ScaleTexture ( float scale, float scale2 ) : void |
Scales the base texture, similar to makePlanarTextureMapping.
|
|
SetCameraMovementDelta ( float delta ) : void |
Sets the movement camera threshold.
|
|
SetCameraRotationDelta ( float delta ) : void |
Sets the rotation camera threshold.
|
|
SetLODOfPatch ( int patchX, int patchZ, int LOD ) : void |
Manually sets the LOD of a patch.
|
|
TerrainSceneNode ( |
메소드 | 설명 | |
---|---|---|
TerrainSceneNode_GetBoundingBox ( |
||
TerrainSceneNode_GetBoundingBoxA ( |
||
TerrainSceneNode_GetHeight ( IntPtr terrain, float x, float z ) : float | ||
TerrainSceneNode_GetIndexCount ( IntPtr terrain ) : int | ||
TerrainSceneNode_GetMesh ( IntPtr terrain ) : IntPtr | ||
TerrainSceneNode_GetMeshBufferForLOD ( IntPtr terrain, IntPtr mb, int lod ) : void | ||
TerrainSceneNode_GetTerrainCenter ( IntPtr terrain, [ center ) : void | ||
TerrainSceneNode_OverrideLODDistance ( IntPtr terrain, int lod, double newDistance ) : void | ||
TerrainSceneNode_ScaleTexture ( IntPtr terrain, float scale, float scale2 ) : void | ||
TerrainSceneNode_SetCameraMovementDelta ( IntPtr terrain, float delta ) : void | ||
TerrainSceneNode_SetCameraRotationDelta ( IntPtr terrain, float delta ) : void | ||
TerrainSceneNode_SetDynamicSelectorUpdate ( IntPtr terrain, bool bVal ) : void | ||
TerrainSceneNode_SetLODOfPatch ( IntPtr terrain, int patchX, int patchZ, int LOD ) : void |
public GetBoundingBox ( int patchX, int patchZ ) : |
||
patchX | int | Patch X |
patchZ | int | Patch Z |
리턴 |
public GetHeight ( float x, float z ) : float | ||
x | float | X-coordinate on the terrain |
z | float | Z-coordinate on the terrain |
리턴 | float |
public GetMeshBufferForLOD ( |
||
mb | A reference to an MeshBuffer object | |
LOD | int | the level of detail you want the indices from. |
리턴 | void |
public OverrideLODDistance ( int LOD, double newDistance ) : void | ||
LOD | int | LOD |
newDistance | double | Distance |
리턴 | void |
public ScaleTexture ( float scale, float scale2 ) : void | ||
scale | float | The scaling amount. Values above 1.0 increase the number of time the texture is drawn on the terrain. Values below 0 will decrease the number of times the texture is drawn on the terrain. Using negative values will flip the texture, as well as still scaling it. |
scale2 | float | If set to 0 (default value), this will set the second texture coordinate set to the same values as in the first set. If this is another value than zero, it will scale the second texture coordinate set by this value. |
리턴 | void |
public SetCameraMovementDelta ( float delta ) : void | ||
delta | float | Delta |
리턴 | void |
public SetCameraRotationDelta ( float delta ) : void | ||
delta | float | Delta |
리턴 | void |
public SetLODOfPatch ( int patchX, int patchZ, int LOD ) : void | ||
patchX | int | Patch x coordinate. |
patchZ | int | Patch z coordinate. |
LOD | int | The level of detail to set the patch to. |
리턴 | void |
public TerrainSceneNode ( |
||
raw | ||
리턴 | System |