Terrain Class |
Namespace: NeoAxis
public class Terrain : Component
The Terrain type exposes the following members.
Name | Description | |
---|---|---|
AllowFullUpdateGeometryCollisionCurrentLayers | ||
AnyData |
The user data of the component.
(Inherited from Component.) | |
BaseType |
Gets the base type of the object.
(Inherited from Component.) | |
CastShadows |
Whether to cast shadows on the other surfaces.
| |
CloneSupport |
Whether the object supports cloning.
(Inherited from Component.) | |
Collision |
Whether to have a collision body.
| |
CollisionFriction |
The amount of friction applied on the rigid body.
| |
CollisionMaterial |
The physical material used by the rigid body.
| |
CollisionRestitution |
The ratio of the final relative velocity to initial relative velocity of the rigid body after collision.
| |
Components |
Gets the collection of the child components.
(Inherited from Component.) | |
CreatedByBaseType |
Whether the object is created using a base type.
(Inherited from Component.) | |
DebugDrawSurfaceObjectsBounds |
Whether to visualize the bounds of groups for objects created by surfaces.
| |
DisplayInEditor |
Whether to show the object in the editor.
(Inherited from Component.) | |
Disposed |
Whether the object is disposed.
(Inherited from Component.) | |
EditorDocumentConfiguration |
Gets or sets the configuration data of the object's settings in the editor.
(Inherited from Component.) | |
EditorReadOnly |
Whether the object is read only in the editor.
(Inherited from Component.) | |
EditorReadOnlyInHierarchy |
Whether the object is read-only in the editor with respect to parent objects.
(Inherited from Component.) | |
Enabled |
Whether the component is enabled. Any functionality of component is not works when it disabled.
(Inherited from Component.) | |
EnabledInHierarchy |
Determines whether the object is attached to a hierarchy of the components and enabled. The object will be enabled only when all parents are enabled, and the property Enabled is enabled.
(Inherited from Component.) | |
EnabledInHierarchyAndIsInstance |
Determines when the object is attached to a hierarchy of the components, is enabled and the object if not part of a resource (it is usual object instance). The object will be enabled only when all parents are enabled, and the property Enabled is enabled.
(Inherited from Component.) | |
HeightmapBuffer | ||
HeightmapSize |
The resolution of the height map.
| |
HeightmapSize_UndoDependentData | ||
HierarchyController |
Gets the object hierarchy control controller.
(Inherited from Component.) | |
Holes |
The list of objects that are shapes for cutting holes.
| |
HolesEnabled |
Whether to enable holes.
| |
HorizontalSize |
The size along the axes X and Y.
| |
LODCount | ||
LODDistance |
The distance from the previous to the next level of detail.
| |
LODEnabled |
Whether to enable level of detail.
| |
Material |
Base material of a terrain.
| |
MaterialColor |
The base color multiplier for base material.
| |
MaterialUV0 |
The number of UV tiles per unit for texture coordinates 0.
| |
MaterialUV1 |
The number of UV tiles per unit for texture coordinates 1.
| |
MaterialUVCurvatureFrequency |
The frequency of the curvature in the calculation of texture coordinates. The randomness is intended to reduce the tiling effect.
| |
MaterialUVCurvatureIntensity |
The intensity of the curvature in the calculation of texture coordinates. The curvature is intended to reduce the tiling effect.
| |
MotionBlurFactor |
The multiplier of the motion blur effect.
| |
Name |
The name of the component.
(Inherited from Component.) | |
NetworkID | (Inherited from Component.) | |
NetworkIsClient | (Inherited from Component.) | |
NetworkIsServer |
Whether to work in network server mode. It is false until the scene is not loaded.
(Inherited from Component.) | |
NetworkIsSingle | (Inherited from Component.) | |
NetworkIsSingleOrClient | (Inherited from Component.) | |
NetworkMode |
Whether to enable synchronization of the component between server and clients.
(Inherited from Component.) | |
NetworkModeUsers | (Inherited from Component.) | |
Occluder |
Whether to object should be used as an occluder for occlusion culling.
| |
PaintMaskSize |
Resolution of the paint masks of the layers.
| |
Parent |
Gets the parent object.
(Inherited from Component.) | |
ParentRoot |
Gets the parent root object.
(Inherited from Component.) | |
Position |
The position of the object in the scene.
| |
PrecalculateObjects |
Whether to precalculate data of objects from layers in the simulation. When the property is disabled, the objects will calculate when it needed and destroyed after 10 seconds when are not visible by the camera.
| |
ReceiveDecals |
Whether it is possible to apply decals on the surface.
| |
RemoveFromParentQueued |
Whether the object is placed in the detach queue from the parent.
(Inherited from Component.) | |
SaveSupport |
Whether the object supports saving to a file.
(Inherited from Component.) | |
ScreenLabel |
The displaying mode of an on-screen label of the component in the scene editor.
(Inherited from Component.) | |
Surface |
Base surface of the terrain.
| |
SurfaceObjects |
Whether to create objects of the base surface.
| |
SurfaceObjectsCastShadows |
Whether to cast shadows on the other surfaces for objects of base surface.
| |
SurfaceObjectsCollision |
Whether to enable a collision detection. A collision definition of the mesh is used.
| |
SurfaceObjectsColor |
The base color multiplier for objects of base surface.
| |
SurfaceObjectsDistribution |
The scale the distribution of base surface objects.
| |
SurfaceObjectsScale |
The scale of base surface objects size.
| |
SurfaceObjectsVisibilityDistanceFactor |
The factor of maximum visibility distance for objects of base surface. The maximum distance is calculated based on the size of the object on the screen.
| |
TileSize |
The size of internal tile cells. These cells divide the entire geometry of the landscape into pieces.
| |
TypeSettingsPrivateObjects |
Object settings when used as a type.
(Inherited from Component.) | |
Visible |
Whether the object is visible in the scene.
|
Name | Description | |
---|---|---|
AddComponent |
Adds a component as a child.
(Inherited from Component.) | |
BeginNetworkMessage(ServerNetworkService_ComponentsClientItem, String) | (Inherited from Component.) | |
BeginNetworkMessage(IListServerNetworkService_ComponentsClientItem, String) | (Inherited from Component.) | |
BeginNetworkMessage(ServerNetworkService_UsersUserInfo, String) | (Inherited from Component.) | |
BeginNetworkMessage(IListServerNetworkService_UsersUserInfo, String) | (Inherited from Component.) | |
BeginNetworkMessageToEveryone | (Inherited from Component.) | |
BeginNetworkMessageToServer | (Inherited from Component.) | |
CalculateBounds | ||
ClampCellIndex | ||
ClampMaskIndex | ||
Clone |
Creates a copy of the object.
(Inherited from Component.) | |
CreateComponent(Type, Int32, Boolean, Boolean, NetworkModeEnum) |
Creates a child component.
(Inherited from Component.) | |
CreateComponent(MetadataTypeInfo, Int32, Boolean, Boolean, NetworkModeEnum) |
Creates a child component.
(Inherited from Component.) | |
CreateComponentT(Int32, Boolean, Boolean, NetworkModeEnum) |
Creates a child component.
(Inherited from Component.) | |
Dispose |
Detaches the object from the hierarchy and deletes the object data.
(Inherited from Component.) | |
EndNetworkMessage | (Inherited from Component.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindParent(Type) |
Finds the parent of the specified type.
(Inherited from Component.) | |
FindParent(MetadataTypeInfo) |
Finds the parent of the specified type.
(Inherited from Component.) | |
FindParentT |
Finds the parent of the specified type.
(Inherited from Component.) | |
FindThisOrParent(Type) |
Finds the parent or self of the specified type.
(Inherited from Component.) | |
FindThisOrParent(MetadataTypeInfo) |
Finds the parent or self of the specified type.
(Inherited from Component.) | |
FindThisOrParentT |
Finds the parent or self of the specified type.
(Inherited from Component.) | |
GetAllParents |
Gets all parents of the component.
(Inherited from Component.) | |
GetBounds2 | ||
GetBoundsFromTiles | ||
GetCellIndexByPosition(Vector2) | ||
GetCellIndexByPosition(Vector2) | ||
GetCellSize | ||
GetComponent(String, Boolean) |
Finds a child component by name.
(Inherited from Component.) | |
GetComponent(Type, Boolean, Boolean) |
Finds a child component of the specified type.
(Inherited from Component.) | |
GetComponent(MetadataTypeInfo, Boolean, Boolean) |
Finds a child component of the specified type.
(Inherited from Component.) | |
GetComponentT(Boolean, Boolean) |
Finds a child component of the specified type.
(Inherited from Component.) | |
GetComponentByNameWithIndex |
Finds a child component by name and number in the case when there are several components with the specified name.
(Inherited from Component.) | |
GetComponentByPath |
Finds a child component by path.
(Inherited from Component.) | |
GetComponents(Boolean, Boolean, Boolean, Boolean) |
Finds child components.
(Inherited from Component.) | |
GetComponents(Boolean, Boolean, Boolean, Boolean, ActionComponent) |
Finds child components.
(Inherited from Component.) | |
GetComponents(Type, Boolean, Boolean, Boolean, Boolean) |
Finds child components of the specified type.
(Inherited from Component.) | |
GetComponents(MetadataTypeInfo, Boolean, Boolean, Boolean, Boolean) |
Finds child components of the specified type.
(Inherited from Component.) | |
GetComponentsT(Boolean, Boolean, Boolean, Boolean, ActionT) |
Finds child components of the specified type.
(Inherited from Component.) | |
GetGeometryFromTiles | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetHeight(Vector2I) | ||
GetHeight(Vector2, Boolean) | ||
GetHeightmapSizeAsInteger | ||
GetHeightmapSizeInteger | ||
GetHeightMinMax | ||
GetHeightMinMaxWithoutPosition | ||
GetHeightWithoutPosition | ||
GetHoleObjects | ||
GetLayerInfoByPosition | ||
GetLayersInfoByPosition(Vector2) | ||
GetLayersInfoByPosition(Vector2, ListTerrainLayersInfoByPositionItem) | ||
GetMaskIndexByPosition(Vector2) | ||
GetMaskIndexByPosition(Vector2) | ||
GetNormal(Vector2) | ||
GetNormal(Vector2I) | ||
GetPaintMaskSizeInteger | ||
GetPathFromParent |
Returns the path to the object from the parent.
(Inherited from Component.) | |
GetPathFromRoot |
Returns the object's access path from the root object.
(Inherited from Component.) | |
GetPositionByRay | ||
GetPositionXY | ||
GetPositionXYByMaskIndex | ||
GetProvidedType |
Returns a type when the object is used as a type.
(Inherited from Component.) | |
GetScreenLabelInfo | (Inherited from Component.) | |
GetTerrainByMeshInSpace | ||
GetTerrainByRay | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsMethodInvoking |
Checks if a method is running over time. You can start executing such methods using MethodInvoke(String, Object, Double, Double) method.
(Inherited from Component.) | |
LoadHeightmapBuffer | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MetadataGetMemberBySignature |
Returns the object metadata member by name.
(Inherited from Component.) | |
MetadataGetMembers |
Returns the object metadata members.
(Inherited from Component.) | |
MethodInvoke |
Calls a method by name.
(Inherited from Component.) | |
MethodInvokeCancel |
Cancels the execution of selected method that run over time. You can start executing such methods using MethodInvoke(String, Object, Double, Double) method.
(Inherited from Component.) | |
MethodInvokeCancelAll |
Cancels the execution of all methods that run over time. You can start executing such methods using MethodInvoke(String, Object, Double, Double) method.
(Inherited from Component.) | |
NetworkDisablePropertySynchronization | (Inherited from Component.) | |
NetworkIsDisabledPropertySynchronization | (Inherited from Component.) | |
NetworkModeAddUser | (Inherited from Component.) | |
NetworkModeIsEnabledForUser | (Inherited from Component.) | |
NetworkModeRemoveUser | (Inherited from Component.) | |
NetworkRestoreDisabledPropertySynchronization | (Inherited from Component.) | |
NewObjectSetDefaultConfiguration |
Called when the object is created in the editor. Designed to configure the initial state.
(Inherited from Component.) | |
NewObjectSetDefaultConfigurationUpdate |
Called during object creation in the editor. Designed to configure the initial state.
(Inherited from Component.) | |
OnAddedToParent |
Called when a component is added to the parent.
(Inherited from Component.) | |
OnClientConnectedAfterRootComponentEnabled | (Inherited from Component.) | |
OnClientConnectedBeforeRootComponentEnabled | (Overrides ComponentOnClientConnectedBeforeRootComponentEnabled(ServerNetworkService_ComponentsClientItem).) | |
OnClientDisconnected | (Inherited from Component.) | |
OnClone | (Overrides ComponentOnClone(MetadataCloneContext, Component).) | |
OnComponentAdded |
Called when a child component is added.
(Inherited from Component.) | |
OnComponentRemoved |
Called when a child component is removed.
(Inherited from Component.) | |
OnDisabled |
Called when the object is detached from a hierarchy of the components or is disabled. See also EnabledInHierarchy property.
(Inherited from Component.) | |
OnDisabledInSimulation |
Called when the object is detached from a hierarchy of the components or is disabled. The method is called only in simulation application. See also EnabledInHierarchy property.
(Inherited from Component.) | |
OnDispose |
Called when the object is disposed.
(Inherited from Component.) | |
OnEditorGetTextInfoCenterBottomCorner | (Inherited from Component.) | |
OnEnabled |
Called when the object is attached to a hierarchy of the components and is enabled. See also EnabledInHierarchy property.
(Inherited from Component.) | |
OnEnabledChanged |
Called when value of Enabled property is changed.
(Inherited from Component.) | |
OnEnabledInHierarchyChanged | (Overrides ComponentOnEnabledInHierarchyChanged.) | |
OnEnabledInSimulation |
Called when the object is attached to a hierarchy of the components and is enabled. The method is called only in simulation application. See also EnabledInHierarchy property.
(Inherited from Component.) | |
OnLoad | (Overrides ComponentOnLoad(MetadataLoadContext, TextBlock, String).) | |
OnMetadataGetMemberBySignature |
Called when the object metadata member is received by name.
(Inherited from Component.) | |
OnMetadataGetMembers |
Called upon receipt of the object's metadata members.
(Inherited from Component.) | |
OnMetadataGetMembersFilter | (Overrides ComponentOnMetadataGetMembersFilter(MetadataGetMembersContext, MetadataMember, Boolean).) | |
OnPreloadResources |
Called when preloading the resources used by the object.
(Inherited from Component.) | |
OnReceiveNetworkMessageFromClient | (Inherited from Component.) | |
OnReceiveNetworkMessageFromServer | (Overrides ComponentOnReceiveNetworkMessageFromServer(String, ArrayDataReader).) | |
OnRemovedFromParent |
Called when a component is removed from the parent.
(Inherited from Component.) | |
OnSave | (Overrides ComponentOnSave(MetadataSaveContext, TextBlock, Boolean, String).) | |
OnSimulationStep |
Called during the simulation step.
(Inherited from Component.) | |
OnSimulationStepClient |
Called during the simulation step.
(Inherited from Component.) | |
OnUpdate | (Overrides ComponentOnUpdate(Single).) | |
PreloadResources |
Preload resources used by the object.
(Inherited from Component.) | |
PropertyGet(String, Object, Boolean) |
Gets the value of a property by name.
(Inherited from Component.) | |
PropertySet |
Sets the value of a property by name.
(Inherited from Component.) | |
RemoveAllComponents |
Removes all child components.
(Inherited from Component.) | |
RemoveComponent |
Removes a child component.
(Inherited from Component.) | |
RemoveFromParent |
Detaches the object from its parent.
(Inherited from Component.) | |
SaveHeightmapBuffer | ||
SetHeightWithoutPosition | ||
SetNeedUpdateAllTiles | ||
SetNeedUpdateTilesByCellIndices | ||
SetNeedUpdateTilesByMaskIndices | ||
ToString |
Returns the name and type of the object as a string.
(Inherited from Component.) | |
TypeSettingsIsPublic |
Checks whether the object provided as a type is public.
(Inherited from Component.) | |
TypeSettingsIsPublicMember |
Checks whether the member is set up as public.
(Inherited from Component.) | |
UpdateRenderingAndCollisionData | ||
UpdateTiles |
Name | Description | |
---|---|---|
AddedToParent |
Occurs when a component is added to the parent.
(Inherited from Component.) | |
CastShadowsChanged | Occurs when the CastShadows property value changes. | |
CloneEvent |
Occurs when object is cloned.
(Inherited from Component.) | |
CloneSupportChanged |
Occurs after changing value of CloneSupport property.
(Inherited from Component.) | |
CollisionChanged | Occurs when the Collision property value changes. | |
CollisionFrictionChanged | Occurs when the CollisionFriction property value changes. | |
CollisionMaterialChanged | Occurs when the CollisionMaterial property value changes. | |
CollisionRestitutionChanged | Occurs when the CollisionRestitution property value changes. | |
ComponentAdded |
Occurs when a child component is added.
(Inherited from Component.) | |
ComponentRemoved |
Occurs when a child component is removed.
(Inherited from Component.) | |
ComponentsChanged |
Occurs when the set of children is changed.
(Inherited from Component.) | |
DebugDrawSurfaceObjectsBoundsChanged | Occurs when the DebugDrawSurfaceObjectsBounds property value changes. | |
DisabledEvent |
Occurs when the object is disabled from a hierarchy of the components or is disabled. See also EnabledInHierarchy property.
(Inherited from Component.) | |
DisabledInSimulation |
Occurs when the object is detached from a hierarchy of the components or is disabled. The method is called only in simulation application. See also EnabledInHierarchy property.
(Inherited from Component.) | |
DisplayInEditorChanged |
Occurs when value of DisplayInEditor property is changed.
(Inherited from Component.) | |
DisposeEvent |
Occurs when the object is disposed.
(Inherited from Component.) | |
EnabledChanged |
Occurs when the Enabled property value changes.
(Inherited from Component.) | |
EnabledEvent |
Occurs when the object is attached to a hierarchy of the components and is enabled. See also EnabledInHierarchy property.
(Inherited from Component.) | |
EnabledInHierarchyChanged |
Occurs when the EnabledInHierarchy property value changes.
(Inherited from Component.) | |
EnabledInSimulation |
Occurs when the object is attached to a hierarchy of the components and is enabled. The method is called only in simulation application. See also EnabledInHierarchy property.
(Inherited from Component.) | |
GetHeightWithoutPositionOverride | ||
HeightmapSizeChanged | Occurs when the HeightmapSize property value changes. | |
HolesChanged | ||
HolesEnabledChanged | Occurs when the HolesEnabled property value changes. | |
HorizontalSizeChanged | Occurs when the HorizontalSize property value changes. | |
LoadEvent |
Occurs during object loading.
(Inherited from Component.) | |
LODCountChanged | Occurs when the LODCount property value changes. | |
LODDistanceChanged | Occurs when the LODDistance property value changes. | |
LODEnabledChanged | Occurs when the LODEnabled property value changes. | |
MaterialChanged | Occurs when the Material property value changes. | |
MaterialColorChanged | Occurs when the MaterialColor property value changes. | |
MaterialUV0Changed | Occurs when the MaterialUV0 property value changes. | |
MaterialUV1Changed | Occurs when the MaterialUV1 property value changes. | |
MaterialUVCurvatureFrequencyChanged | Occurs when the MaterialUVCurvatureFrequency property value changes. | |
MaterialUVCurvatureIntensityChanged | Occurs when the MaterialUVCurvatureIntensity property value changes. | |
MetadataGetMemberBySignatureEvent |
Occurs when the object metadata member is received by name.
(Inherited from Component.) | |
MetadataGetMembersEvent |
Occurs upon receipt of the object's metadata members.
(Inherited from Component.) | |
MetadataGetMembersFilterEvent |
Occurs when filtering receive members of the object metadata.
(Inherited from Component.) | |
MotionBlurFactorChanged | Occurs when the MotionBlurFactor property value changes. | |
NameChanged |
Occurs when component name is changed.
(Inherited from Component.) | |
NetworkModeChanged | Occurs when the NetworkMode property value changes. (Inherited from Component.) | |
OccluderChanged | Occurs when the Occluder property value changes. | |
PaintMaskSizeChanged | Occurs when the PaintMaskSize property value changes. | |
PositionChanged | Occurs when the Position property value changes. | |
PrecalculateObjectsChanged | Occurs when the PrecalculateObjects property value changes. | |
PreloadResourcesEvent |
Occurs when preloading the resources used by the object.
(Inherited from Component.) | |
ReceiveDecalsChanged | Occurs when the ReceiveDecals property value changes. | |
ReceiveNetworkMessageFromClient | (Inherited from Component.) | |
ReceiveNetworkMessageFromServer | (Inherited from Component.) | |
RemovedFromParent |
Occurs when a component is removed from the parent.
(Inherited from Component.) | |
SaveEvent |
Occurs during object saving.
(Inherited from Component.) | |
SaveSupportChanged |
Occurs after changing value of SaveSupport property.
(Inherited from Component.) | |
ScreenLabelChanged | Occurs when the ScreenLabel property value changes. (Inherited from Component.) | |
SimulationStep |
Occurs during the simulation step.
(Inherited from Component.) | |
SimulationStepClient |
Occurs during the simulation step.
(Inherited from Component.) | |
SurfaceChanged | Occurs when the Surface property value changes. | |
SurfaceObjectsCastShadowsChanged | Occurs when the SurfaceObjectsCastShadows property value changes. | |
SurfaceObjectsChanged | Occurs when the SurfaceObjects property value changes. | |
SurfaceObjectsCollisionChanged | Occurs when the SurfaceObjectsCollision property value changes. | |
SurfaceObjectsColorChanged | Occurs when the SurfaceObjectsColor property value changes. | |
SurfaceObjectsDistributionChanged | Occurs when the SurfaceObjectsDistribution property value changes. | |
SurfaceObjectsScaleChanged | Occurs when the SurfaceObjectsScale property value changes. | |
SurfaceObjectsVisibilityDistanceFactorChanged | Occurs when the SurfaceObjectsVisibilityDistanceFactor property value changes. | |
TileSizeChanged | Occurs when the TileSize property value changes. | |
UpdateEvent |
Occurs during the update process of all objects.
(Inherited from Component.) | |
VisibleChanged | Occurs when the Visible property value changes. |
Name | Description | |
---|---|---|
MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |