Метод | Описание | |
---|---|---|
AddAnimatedMeshSceneNode ( |
Adds a simple animated mesh scene node to the scene
|
|
AddBillboardSceneNode ( |
Adds a billboard (simple 2D texture which seems to be on a 3D box)
|
|
AddBillboardTextSceneNode ( |
Adds 3d TextSceneNode2. to view a Text in real 3D Space in fact it is a combination of Billboard and TextSceneNode
|
|
AddBillboardTextSceneNodeW ( |
||
AddCameraSceneNode ( |
Adds a simple camera to the node
|
|
AddCameraSceneNodeFPS ( |
Adds a FPS camera, look at controlled by mouse and movement by arrow keys
|
|
AddCameraSceneNodeFPS ( |
Adds a FPS camera, look at controlled by mouse and movement by arrow keys
|
|
AddCameraSceneNodeMaya ( |
Adds a simple Maya camera scene node
|
|
AddCubeSceneNode ( float size, |
Adds a simple cube
|
|
AddDummyTransformationSceneNode ( |
Adds a dummy transformation scene node
|
|
AddEmptySceneNode ( |
Adds an empty scene node, not rendered and not displayed but which exists
|
|
AddHillPlaneMesh ( string name, IrrlichtNETCP.Dimension2Df tileSize, IrrlichtNETCP.Dimension2D tileCount, float hillHeight, IrrlichtNETCP.Dimension2Df countHills, IrrlichtNETCP.Dimension2Df textureRepeatCount ) : |
Creates a hill plane mesh (used for instance for any water)
|
|
AddLightSceneNode ( |
Adds a light scene node to the scene
|
|
AddMeshSceneNode ( |
Adds a basic and not-moving scene node based on a simple mesh
|
|
AddOctTreeSceneNode ( |
Adds a scene node for rendering using an octtree to the scene graph
|
|
AddOctTreeSceneNode ( |
Adds an oct tree scene node
|
|
AddParticleSystemSceneNode ( bool defaultEmitter, |
Adds a simple particle scene node
|
|
AddSkyBoxSceneNode ( |
Adds a simple skybox. A skybox is a basic cube rendered before everything and used to simulate an external environment with only textures.
|
|
AddSkyDomeSceneNode ( |
Adds a skydome scene node to the scene graph. A skydome is a large (half-) sphere with a panoramic texture on the inside and is drawn around the camera position.
|
|
AddSphereSceneNode ( float radius, int polycount, |
Adds a sphere scene node for test purposes to the scene. It is a simple sphere.
|
|
AddTerrainMesh ( string name, Image texture, Image heightmap, IrrlichtNETCP.Dimension2D stretchSize, float maxHeight, IrrlichtNETCP.Dimension2D defaultVertexBlockSize ) : |
Adds a static terrain mesh
|
|
AddTerrainSceneNode ( string heightMap, |
Adds a heightmap-based terrain on the scene
|
|
AddTerrainSceneNodeFromRawData ( float data, int width, |
||
AddTextSceneNode ( |
Adds a 3D rendered text scene node to the scene
|
|
AddTextSceneNodeW ( |
||
AddToDeletionQueue ( |
Adds a node to the deletion queue (it will be deleted immediately when it is secure)
|
|
AddTreeSceneNode ( string XMLString, |
||
AddTreeSceneNode ( string XMLString, |
||
AddWaterSurfaceSceneNode ( |
Adds a water surface based on a hill mesh (use AddHillPlaneMesh). Looks good when material is TransparentReflection
|
|
Clear ( ) : void | ||
CreateCollisionResponseAnimator ( |
Creates a simple animator for collision detection
|
|
CreateDeleteAnimator ( uint timeMS ) : Animator |
Creates an animator that will delete the node after X miliseconds
|
|
CreateFlyCircleAnimator ( IrrlichtNETCP.Vector3D center, float radius, float speed ) : Animator |
Creates an animator that will fly around a center
|
|
CreateFlyStraightAnimator ( IrrlichtNETCP.Vector3D start, IrrlichtNETCP.Vector3D end, uint time, bool loop ) : Animator |
Creates an animator that will fly from one point to... another one !
|
|
CreateFollowSplineAnimator ( int startTime, IrrlichtNETCP.Vector3D points, float speed, float tightness ) : Animator | ||
CreateMeshWriter ( MeshWriterType type ) : |
||
CreateMetaTriangleSelector ( ) : |
A meta triangle selector is nothing more than a collection of one or more triangle selectors providing together the interface of one triangle selector. In this way, collision tests can be done with different triangle soups in one pass.
|
|
CreateNewSceneManager ( bool copycontent ) : |
Creates a new scene manager.
|
|
CreateOctTreeTriangleSelector ( |
Creates an optimized collision detector based on OctTrees
|
|
CreateRotationAnimator ( IrrlichtNETCP.Vector3D rotation ) : Animator |
Creates a simple animator that will rotate.
|
|
CreateTerrainTriangleSelector ( |
Creates an optimized-for-terrain triangle selector
|
|
CreateTextureAnimator ( |
Creates an animator that will switch every [timePerFrame] miliseconds the textures of the node.
|
|
CreateTriangleSelector ( |
Creates a basic triangle selector based on a mesh
|
|
CreateTriangleSelectorFromBoundingBox ( |
Creates the basic boundingbox-based triangle selector. Useful for a basic collision detection that doesn't need polygon precision
|
|
DrawAll ( ) : void |
Draws the whole scene. MUST be called between Driver.BeginScene and Driver.EndScene
|
|
GetMesh ( string name ) : |
Retrieves the mesh from a file
|
|
GetMeshFromReadFile ( |
Retrieves the mesh from an IReadFile interface (can also be in-memory)
|
|
GetSceneNodeFromID ( int id ) : |
Retrieves a Scene node by id.
|
|
GetSceneNodeFromName ( string name ) : |
Retrieves a scene node from its name.
|
|
GetSceneNodeFromType ( SceneNodeType type, |
Returns the first scene node with the specified type.
|
|
LoadScene ( string filename ) : void |
Loads a scene. Note that the current scene is not cleared before.
|
|
LoadScene ( string filename, |
Loads a scene. Note that the current scene is not cleared before.
|
|
PostEventFromUser ( |
Posts an input event to the environment. Usefull for new created SceneManagers
|
|
RegisterNodeForRendering ( |
Registers a node for rendering it at a specific time.
|
|
RegisterNodeForRendering ( |
Registers a node for rendering it at a specific time.
|
|
SaveScene ( string filename ) : void |
Saves the current scene into a file.
|
|
SceneManager ( |
Constructor
|
|
SetAmbientLight ( IrrlichtNETCP.Colorf color ) : void |
Метод | Описание | |
---|---|---|
RemoveFromElements ( |
||
SceneManager_AddAnimatedMeshSceneNode ( |
||
SceneManager_AddBillboardSceneNode ( |
||
SceneManager_AddCameraSceneNode ( |
||
SceneManager_AddCameraSceneNodeFPS ( |
||
SceneManager_AddCameraSceneNodeFPSA ( |
||
SceneManager_AddCameraSceneNodeMaya ( |
||
SceneManager_AddCubeSceneNode ( |
||
SceneManager_AddDummyTransformationSceneNode ( |
||
SceneManager_AddEmptySceneNode ( |
||
SceneManager_AddHillPlaneMesh ( |
||
SceneManager_AddLightSceneNode ( |
||
SceneManager_AddMeshSceneNode ( |
||
SceneManager_AddOctTreeSceneNode ( |
||
SceneManager_AddOctTreeSceneNodeA ( |
||
SceneManager_AddParticleSystemSceneNode ( |
||
SceneManager_AddSkyBoxSceneNode ( |
||
SceneManager_AddSkyDomeSceneNode ( |
||
SceneManager_AddSphereSceneNode ( |
||
SceneManager_AddTerrainMesh ( |
||
SceneManager_AddTerrainSceneNode ( |
||
SceneManager_AddTerrainSceneNodeFromRawData ( |
||
SceneManager_AddTextSceneNode ( |
||
SceneManager_AddTextSceneNode2 ( |
||
SceneManager_AddTextSceneNode2W ( |
||
SceneManager_AddTextSceneNodeW ( |
||
SceneManager_AddToDeletionQueue ( |
||
SceneManager_AddTreeSceneNode ( |
||
SceneManager_AddWaterSurfaceSceneNode ( |
||
SceneManager_Clear ( |
||
SceneManager_CreateCollisionResponseAnimator ( |
||
SceneManager_CreateDeleteAnimator ( |
||
SceneManager_CreateFlyCircleAnimator ( |
||
SceneManager_CreateFlyStraightAnimator ( |
||
SceneManager_CreateFollowSplineAnimator ( |
||
SceneManager_CreateMeshWriter ( |
||
SceneManager_CreateMetaTriangleSelector ( |
||
SceneManager_CreateNewSceneManager ( |
||
SceneManager_CreateOctTreeTriangleSelector ( |
||
SceneManager_CreateRotationAnimator ( |
||
SceneManager_CreateTerrainTriangleSelector ( |
||
SceneManager_CreateTextureAnimator ( |
||
SceneManager_CreateTriangleSelector ( |
||
SceneManager_CreateTriangleSelectorFromBoundingBox ( |
||
SceneManager_DrawAll ( |
||
SceneManager_GetActiveCamera ( |
||
SceneManager_GetGUIEnv ( |
||
SceneManager_GetMesh ( |
||
SceneManager_GetMeshCache ( |
||
SceneManager_GetMeshFromReadFile ( |
||
SceneManager_GetMeshManipulator ( |
||
SceneManager_GetRootSceneNode ( |
||
SceneManager_GetSceneCollisionManager ( |
||
SceneManager_GetSceneNodeFromID ( |
||
SceneManager_GetSceneNodeFromName ( |
||
SceneManager_GetSceneNodeFromType ( |
||
SceneManager_GetSceneNodeRenderPass ( |
||
SceneManager_GetShadowColor ( |
||
SceneManager_GetVideoDriver ( |
||
SceneManager_LoadScene ( |
||
SceneManager_PostEventFromUser ( |
||
SceneManager_RegisterNodeForRendering ( |
||
SceneManager_SaveScene ( |
||
SceneManager_SetActiveCamera ( |
||
SceneManager_SetAmbientLight ( |
||
SceneManager_SetShadowColor ( |
public AddAnimatedMeshSceneNode ( |
||
mesh | The animated mesh of the node that can be obtained via GetMesh | |
Результат |
public AddBillboardSceneNode ( |
||
parent | Parents from the node | |
size | IrrlichtNETCP.Dimension2Df | Size of the billboard |
id | int | ID (-1 for automatic ID assignation) |
Результат |
public AddBillboardTextSceneNode ( |
||
font | Font | |
text | string | Text (can be changed later) |
parent | Its parent | |
size | IrrlichtNETCP.Dimension2Df | |
position | IrrlichtNETCP.Vector3D | |
id | int | |
shade_top | Color | Color of the top shade |
shade_down | Color | Color of the bottom shade |
Результат |
public AddBillboardTextSceneNodeW ( |
||
font | ||
text | string | |
parent | ||
size | IrrlichtNETCP.Dimension2Df | |
position | IrrlichtNETCP.Vector3D | |
id | int | |
shade_top | Color | |
shade_down | Color | |
Результат |
public AddCameraSceneNode ( |
||
parent | The parents (null if no parent) | |
Результат |
public AddCameraSceneNodeFPS ( |
||
parent | Parent of the node | |
rotateSpeed | float | Rotation speed |
moveSpeed | float | Movement speed |
noVerticalMovement | bool | Are vertical movements forbidden ? |
Результат |
public AddCameraSceneNodeFPS ( |
||
parent | Parent of the node | |
rotateSpeed | float | Rotation speed |
moveSpeed | float | Movement speed |
noVerticalMovement | bool | Are vertical movements forbidden ? |
map | KeyMap which defines all actions of the camera | |
Результат |
public AddCameraSceneNodeMaya ( |
||
parent | Parent from the node | |
rotateSpeed | float | Rotation speed |
zoomSpeed | float | Zoom speed |
transSpeed | float | Translation speed |
id | int | ID of the node (-1 for an automatic assignation) |
Результат |
public AddCubeSceneNode ( float size, |
||
size | float | Size |
parent | Parent | |
id | int | ID of the node (-1 for automatic assign.) |
Результат |
public AddDummyTransformationSceneNode ( |
||
parent | Parent (null if no parent) | |
id | int | ID of the node (-1 for automatic assignation) |
Результат |
public AddEmptySceneNode ( |
||
parent | Parent from the node | |
id | int | ID (-1 for automatic assignation) |
Результат |
public AddHillPlaneMesh ( string name, IrrlichtNETCP.Dimension2Df tileSize, IrrlichtNETCP.Dimension2D tileCount, float hillHeight, IrrlichtNETCP.Dimension2Df countHills, IrrlichtNETCP.Dimension2Df textureRepeatCount ) : |
||
name | string | Name of this mesh |
tileSize | IrrlichtNETCP.Dimension2Df | Size of each tile from the mesh |
tileCount | IrrlichtNETCP.Dimension2D | Number of tiles |
hillHeight | float | Height of each hills |
countHills | IrrlichtNETCP.Dimension2Df | Number of hills |
textureRepeatCount | IrrlichtNETCP.Dimension2Df | Texture repeatition count |
Результат |
public AddLightSceneNode ( |
||
parent | Parent from the node | |
position | IrrlichtNETCP.Vector3D | Initial position of the light |
color | IrrlichtNETCP.Colorf | Floating color of the light |
radius | float | Radius of the light |
id | int | ID (-1 for automatic assignation) |
Результат | IrrlichtNETCP.LightSceneNode |
public AddMeshSceneNode ( |
||
mesh | A static mesh often obtained via GetMesh(0) | |
parent | Parent of the node | |
id | int | ID of the node (-1 for automatic assignation) |
Результат | IrrlichtNETCP.MeshSceneNode |
public AddOctTreeSceneNode ( |
||
mesh | The mesh the oct tree is based on. If this animated mesh has more than one frame, the first one is used | |
parent | Its parent | |
id | int | ID of the node (-1 for automatic assign.) |
minimalPolysPerNode | int | Specifies the minimal polygons per node. Idea = 128 |
Результат |
public AddOctTreeSceneNode ( |
||
mesh | The mesh it is based on | |
parent | Its parent | |
id | int | ID (-1 for automatic assign.) |
minimalPolysPerNode | int | The minimal polys per node (ideal : 128) |
Результат |
public AddParticleSystemSceneNode ( bool defaultEmitter, |
||
defaultEmitter | bool | Creates a basic emitter. If disabled you'll need to use ParticleSystemSceneNode.Emitter |
parent | A SceneNode | |
id | int | An int |
Результат |
public AddSkyBoxSceneNode ( |
||
parent | Its parent (should be set to null) | |
textureList | List of 6 Textures that constitute the skybox, order : top, bottom, left, right, front, back | |
id | int | ID of the node, -1 for automatic assign. |
Результат |
public AddSkyDomeSceneNode ( |
||
texture | Texture for the dome. | |
horiRes | uint | Number of vertices of a horizontal layer of the sphere. |
vertRes | uint | Number of vertices of a vertical layer of the sphere. |
texturePercentage | double | How much of the height of the texture is used. Should be between 0 and 1. |
spherePercentage | double | How much of the sphere is drawn. Value should be between 0 and 2, where 1 is an exact half-sphere and 2 is a full sphere. |
parent | Parent scene node of the dome. A dome usually has no parent, so this should be null. Note: If a parent is set, the dome will not change how it is drawn. | |
Результат |
public AddSphereSceneNode ( float radius, int polycount, |
||
radius | float | Radius of the sphere. |
polycount | int | Polycount of the sphere. |
parent | Parent of the scene node. Can be null if no parent. | |
Результат |
public AddTerrainMesh ( string name, Image texture, Image heightmap, IrrlichtNETCP.Dimension2D stretchSize, float maxHeight, IrrlichtNETCP.Dimension2D defaultVertexBlockSize ) : |
||
name | string | Name of this mesh |
texture | Image | Image of the texture. Please notice that it is an Image, not a Texture, and it is supposed to be hardware-created |
heightmap | Image | Image of the heigthmap |
stretchSize | IrrlichtNETCP.Dimension2D | How big a pixel on the image is rendered on the terrain |
maxHeight | float | Maximal height |
defaultVertexBlockSize | IrrlichtNETCP.Dimension2D | Should be (64,64) |
Результат |
public AddTerrainSceneNode ( string heightMap, |
||
heightMap | string | Relative or non-relative path to the heightmap. |
parent | Parent from the terrain | |
id | int | ID (-1 for automatic assign.) |
position | IrrlichtNETCP.Vector3D | Position of the node |
rotation | IrrlichtNETCP.Vector3D | Rotation of the node |
scale | IrrlichtNETCP.Vector3D | Scale of the node |
vertexColor | Color | Default color of all the vertices used if no texture is assigned to the node. |
maxLOD | int | Maximal LOD, set 5 or change it ONLY IF YOU KNOW WHAT YOU ARE DOING |
patchSize | TerrainPatchSize | PatchSize, should be 17 and you mustn't change it unless you know what you're doing |
smoothFactor | int | |
Результат |
public AddTerrainSceneNodeFromRawData ( float data, int width, |
||
data | float | |
width | int | |
parent | ||
id | int | |
position | IrrlichtNETCP.Vector3D | |
rotation | IrrlichtNETCP.Vector3D | |
scale | IrrlichtNETCP.Vector3D | |
vertexColor | Color | |
maxLOD | int | |
patchSize | TerrainPatchSize | |
smoothFactor | int | |
Результат |
public AddTextSceneNode ( |
||
font | Font | |
text | string | Text (can be changed later) |
color | Color | Color |
parent | Its parent | |
Результат |
public AddTextSceneNodeW ( |
||
font | ||
text | string | |
color | Color | |
parent | ||
Результат |
public AddToDeletionQueue ( |
||
node | A SceneNode | |
Результат | void |
public AddTreeSceneNode ( string XMLString, |
||
XMLString | string | |
parent | ||
id | int | |
position | IrrlichtNETCP.Vector3D | |
rotation | IrrlichtNETCP.Vector3D | |
scale | IrrlichtNETCP.Vector3D | |
TreeTexture | ||
LeafTexture | ||
BillTexture | ||
Результат |
public AddTreeSceneNode ( string XMLString, |
||
XMLString | string | |
parent | ||
id | int | |
position | IrrlichtNETCP.Vector3D | |
rotation | IrrlichtNETCP.Vector3D | |
scale | IrrlichtNETCP.Vector3D | |
TreeTexture | ||
LeafTexture | ||
BillTexture | ||
LeafMaterial | int | |
Результат |
public AddWaterSurfaceSceneNode ( |
||
hillMesh | Hill mesh the water is based on | |
waveH | float | Height of waves |
waveS | float | Speed of waves |
waveL | float | Length of waves |
parent | Parent of the node | |
id | int | ID (-1 for automatic assign.) |
Результат |
public CreateCollisionResponseAnimator ( |
||
world | "World", meaning the triangle selector of the terrain/map | |
node | Node. Notice that this node MUST BE THE ONE THE ANIMATOR IS ADDED | |
ellipsoidRadius | IrrlichtNETCP.Vector3D | Ellipsoid radius. Usually it's the difference between the node's skybox's max edge and its center |
gravityPerSecond | IrrlichtNETCP.Vector3D | How much gravity (don't try (0, -100000, 0), even on Jupiter you wouldn't have such gravity) |
ellipsoidTranslation | IrrlichtNETCP.Vector3D | By default (0, 0, 0), meaning the center of the scene node. You can modify it if needed |
slidingValue | float | Sliding value, usually 0.0005f |
Результат | Animator |
public CreateDeleteAnimator ( uint timeMS ) : Animator | ||
timeMS | uint | Number of miliseconds |
Результат | Animator |
public CreateFlyCircleAnimator ( IrrlichtNETCP.Vector3D center, float radius, float speed ) : Animator | ||
center | IrrlichtNETCP.Vector3D | Center |
radius | float | Radius |
speed | float | Speed |
Результат | Animator |
public CreateFlyStraightAnimator ( IrrlichtNETCP.Vector3D start, IrrlichtNETCP.Vector3D end, uint time, bool loop ) : Animator | ||
start | IrrlichtNETCP.Vector3D | Start |
end | IrrlichtNETCP.Vector3D | End |
time | uint | Time needed |
loop | bool | May the movement be looped ? |
Результат | Animator |
public CreateFollowSplineAnimator ( int startTime, IrrlichtNETCP.Vector3D points, float speed, float tightness ) : Animator | ||
startTime | int | |
points | IrrlichtNETCP.Vector3D | |
speed | float | |
tightness | float | |
Результат | Animator |
public CreateMeshWriter ( MeshWriterType type ) : |
||
type | MeshWriterType | |
Результат |
public CreateMetaTriangleSelector ( ) : |
||
Результат |
public CreateNewSceneManager ( bool copycontent ) : |
||
copycontent | bool |
/// Should the content to be copied to the new location,
/// or keeped as a reference |
Результат |
public CreateOctTreeTriangleSelector ( |
||
mesh | Mesh from your node | |
node | Node | |
minimalPolysPerNode | int | Specifies the minimal polygons contained a octree node. If a node gets less polys the this value, it will not be splitted into smaller nodes. |
Результат |
public CreateRotationAnimator ( IrrlichtNETCP.Vector3D rotation ) : Animator | ||
rotation | IrrlichtNETCP.Vector3D | Rotation |
Результат | Animator |
public CreateTerrainTriangleSelector ( |
||
terrain | Terrain whose the mesh is used | |
LOD | int | Level of Detail, 0 is for the maximal |
Результат |
public CreateTextureAnimator ( |
||
textures | List of textures | |
timePerFrame | int | Time (miliseconds) between each switch |
loop | bool | Does the animation loop ? |
Результат | Animator |
public CreateTriangleSelector ( |
||
mesh | The MESH ! | |
node | Scene node, you NEED TO ADD THIS SELECTOR WITH SceneNode.TriangleSelector ! | |
Результат |
public CreateTriangleSelectorFromBoundingBox ( |
||
node | The node it is taken from | |
Результат |
public GetMesh ( string name ) : |
||
name | string | Path to the mesh file. |
Результат |
public GetMeshFromReadFile ( |
||
readFile | ||
Результат |
public GetSceneNodeFromID ( int id ) : |
||
id | int | The ID of the node. |
Результат |
public GetSceneNodeFromName ( string name ) : |
||
name | string | The name of the node |
Результат |
public GetSceneNodeFromType ( SceneNodeType type, |
||
type | SceneNodeType |
/// A SceneNodeType used for searching |
start |
/// A first scene node searching should start from |
|
Результат |
public LoadScene ( string filename ) : void | ||
filename | string | File where the scene is going to be saved into. |
Результат | void |
public LoadScene ( string filename, |
||
filename | string | File where the scene is going to be saved into. |
parent | ||
Результат | void |
public PostEventFromUser ( |
||
ev |
/// An event struct from the EventReceiver |
|
Результат | bool |
public RegisterNodeForRendering ( |
||
node | Node to register for drawing. Usually scene nodes would set 'this' as parameter here because they want to be drawn. | |
Результат | void |
public RegisterNodeForRendering ( |
||
node | Node to register for drawing. Usually scene nodes would set 'this' as parameter here because they want to be drawn. | |
pass | SceneNodeRenderPass | Specifies when the mode wants to be drawn in relation to the other nodes. For example, if the node is a shadow, it usually wants to be drawn after all other nodes and will use Shadow for this. |
Результат | void |
public SaveScene ( string filename ) : void | ||
filename | string | File where the scene is saved into. |
Результат | void |
public SceneManager ( |
||
raw | An IntPtr | |
Результат | System |
public SetAmbientLight ( IrrlichtNETCP.Colorf color ) : void | ||
color | IrrlichtNETCP.Colorf | |
Результат | void |