Click or drag to resize

WorldGenerator Class

A tool for procedural scene generation.
Inheritance Hierarchy

Namespace:  NeoAxis
Assembly:  NeoAxis.CoreExtension (in NeoAxis.CoreExtension.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public class WorldGenerator : Component

The WorldGenerator type exposes the following members.

Constructors
  NameDescription
Public methodWorldGenerator
Initializes a new instance of the WorldGenerator class
Top
Properties
  NameDescription
Public propertyAddLayersWithObjects
Whether to add paint layers with objects.
Public propertyAnyData
The user data of the component.
(Inherited from Component.)
Public propertyBaseMaterial
The material of the terrain.
Public propertyBaseMaterialColor
The color multiplier of the terrain.
Public propertyBaseSurface
The third surface.
Public propertyBaseSurfaceCollision
Whether to enable the collision for the base surface.
Public propertyBaseSurfaceColor
The color of the first surface.
Public propertyBaseSurfacePaintFactor
The strength of painting for the third surface.
Public propertyBaseType
Gets the base type of the object.
(Inherited from Component.)
Public propertyCloneSupport
Whether the object supports cloning.
(Inherited from Component.)
Public propertyComponents
Gets the collection of the child components.
(Inherited from Component.)
Public propertyCreatedByBaseType
Whether the object is created using a base type.
(Inherited from Component.)
Public propertyCurvature
The curvature frequency of the terrain.
Public propertyDisplayInEditor
Whether to show the object in the editor.
(Inherited from Component.)
Public propertyDisposed
Whether the object is disposed.
(Inherited from Component.)
Public propertyEditorDocumentConfiguration
Gets or sets the configuration data of the object's settings in the editor.
(Inherited from Component.)
Public propertyEditorReadOnly
Whether the object is read only in the editor.
(Inherited from Component.)
Public propertyEditorReadOnlyInHierarchy
Whether the object is read-only in the editor with respect to parent objects.
(Inherited from Component.)
Public propertyEnabled
Whether the component is enabled. Any functionality of component is not works when it disabled.
(Inherited from Component.)
Public propertyEnabledInHierarchy
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.)
Public propertyEnabledInHierarchyAndIsInstance
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.)
Public propertyHeightRange
The height range of the generated terrain.
Public propertyHierarchyController
Gets the object hierarchy control controller.
(Inherited from Component.)
Public propertyLeveledArea
Whether to add leveled, cleared area.
Public propertyLeveledAreaHeight
The height of the leveled area.
Public propertyLeveledAreaMaterial
The material of the leveled area.
Public propertyLeveledAreaShape
The shape of the leveled area.
Public propertyLeveledAreaSize
The size of the leveled area.
Public propertyName
The name of the component.
(Inherited from Component.)
Public propertyNetworkID (Inherited from Component.)
Public propertyNetworkIsClient (Inherited from Component.)
Public propertyNetworkIsServer
Whether to work in network server mode. It is false until the scene is not loaded.
(Inherited from Component.)
Public propertyNetworkIsSingle (Inherited from Component.)
Public propertyNetworkIsSingleOrClient (Inherited from Component.)
Public propertyNetworkMode
Whether to enable synchronization of the component between server and clients.
(Inherited from Component.)
Public propertyNetworkModeUsers (Inherited from Component.)
Public propertyParent
Gets the parent object.
(Inherited from Component.)
Public propertyParentRoot
Gets the parent root object.
(Inherited from Component.)
Public propertyRemoveFromParentQueued
Whether the object is placed in the detach queue from the parent.
(Inherited from Component.)
Public propertySaveSupport
Whether the object supports saving to a file.
(Inherited from Component.)
Public propertyScreenLabel
The displaying mode of an on-screen label of the component in the scene editor.
(Inherited from Component.)
Public propertySeed
The seed number for random number generator.
Public propertySize
The size of the generated area.
Public propertySurface1
The first surface.
Public propertySurface1Collision
Whether to enable the collision for the first surface.
Public propertySurface1Color
The color of the first surface.
Public propertySurface1Distribution
Public propertySurface1PaintFactor
The strength of painting for the first surface.
Public propertySurface2
The second surface.
Public propertySurface2Collision
Whether to enable the collision for the second surface.
Public propertySurface2Color
The color of the second surface.
Public propertySurface2Distribution
Public propertySurface2PaintFactor
The strength of painting for the second surface.
Public propertySurface3
The third surface.
Public propertySurface3Collision
Whether to enable the collision for the third surface.
Public propertySurface3Color
The color of the third surface.
Public propertySurface3Distribution
Public propertySurface3PaintFactor
The strength of painting for the third surface.
Public propertySurface4
The fourth surface.
Public propertySurface4Collision
Whether to enable the collision for the fourth surface.
Public propertySurface4Color
The color of the fourth surface.
Public propertySurface4Distribution
Public propertySurface4PaintFactor
The strength of painting for the fourth surface.
Public propertySurface5
The fifth surface.
Public propertySurface5Collision
Whether to enable the collision for the fifth surface.
Public propertySurface5Color
The color of the fifth surface.
Public propertySurface5Distribution
Public propertySurface5PaintFactor
The strength of painting for the fifth surface.
Public propertySurface6
The sixth surface.
Public propertySurface6Collision
Whether to enable the collision for the sixth surface.
Public propertySurface6Color
The color of the sixth surface.
Public propertySurface6Distribution
Public propertySurface6PaintFactor
The strength of painting for the sixth surface.
Public propertyTemplate
The predefined template of materials and surfaces.
Public propertyTypeSettingsPrivateObjects
Object settings when used as a type.
(Inherited from Component.)
Top
Methods
  NameDescription
Public methodAddComponent
Adds a component as a child.
(Inherited from Component.)
Public methodBeginNetworkMessage(ServerNetworkService_ComponentsClientItem, String) (Inherited from Component.)
Public methodBeginNetworkMessage(IListServerNetworkService_ComponentsClientItem, String) (Inherited from Component.)
Public methodBeginNetworkMessage(ServerNetworkService_UsersUserInfo, String) (Inherited from Component.)
Public methodBeginNetworkMessage(IListServerNetworkService_UsersUserInfo, String) (Inherited from Component.)
Public methodBeginNetworkMessageToEveryone (Inherited from Component.)
Public methodBeginNetworkMessageToServer (Inherited from Component.)
Public methodClone
Creates a copy of the object.
(Inherited from Component.)
Public methodCreateComponent(Type, Int32, Boolean, Boolean, NetworkModeEnum)
Creates a child component.
(Inherited from Component.)
Public methodCreateComponent(MetadataTypeInfo, Int32, Boolean, Boolean, NetworkModeEnum)
Creates a child component.
(Inherited from Component.)
Public methodCreateComponentT(Int32, Boolean, Boolean, NetworkModeEnum)
Creates a child component.
(Inherited from Component.)
Public methodDispose
Detaches the object from the hierarchy and deletes the object data.
(Inherited from Component.)
Public methodEndNetworkMessage (Inherited from Component.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindParent(Type)
Finds the parent of the specified type.
(Inherited from Component.)
Public methodFindParent(MetadataTypeInfo)
Finds the parent of the specified type.
(Inherited from Component.)
Public methodFindParentT
Finds the parent of the specified type.
(Inherited from Component.)
Public methodFindThisOrParent(Type)
Finds the parent or self of the specified type.
(Inherited from Component.)
Public methodFindThisOrParent(MetadataTypeInfo)
Finds the parent or self of the specified type.
(Inherited from Component.)
Public methodFindThisOrParentT
Finds the parent or self of the specified type.
(Inherited from Component.)
Public methodGenerate
Public methodGetAllParents
Gets all parents of the component.
(Inherited from Component.)
Public methodGetComponent(String, Boolean)
Finds a child component by name.
(Inherited from Component.)
Public methodGetComponent(Type, Boolean, Boolean)
Finds a child component of the specified type.
(Inherited from Component.)
Public methodGetComponent(MetadataTypeInfo, Boolean, Boolean)
Finds a child component of the specified type.
(Inherited from Component.)
Public methodGetComponentT(Boolean, Boolean)
Finds a child component of the specified type.
(Inherited from Component.)
Public methodGetComponentByNameWithIndex
Finds a child component by name and number in the case when there are several components with the specified name.
(Inherited from Component.)
Public methodGetComponentByPath
Finds a child component by path.
(Inherited from Component.)
Public methodGetComponents(Boolean, Boolean, Boolean, Boolean)
Finds child components.
(Inherited from Component.)
Public methodGetComponents(Boolean, Boolean, Boolean, Boolean, ActionComponent)
Finds child components.
(Inherited from Component.)
Public methodGetComponents(Type, Boolean, Boolean, Boolean, Boolean)
Finds child components of the specified type.
(Inherited from Component.)
Public methodGetComponents(MetadataTypeInfo, Boolean, Boolean, Boolean, Boolean)
Finds child components of the specified type.
(Inherited from Component.)
Public methodGetComponentsT(Boolean, Boolean, Boolean, Boolean, ActionT)
Finds child components of the specified type.
(Inherited from Component.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPathFromParent
Returns the path to the object from the parent.
(Inherited from Component.)
Public methodGetPathFromRoot
Returns the object's access path from the root object.
(Inherited from Component.)
Public methodGetProvidedType
Returns a type when the object is used as a type.
(Inherited from Component.)
Public methodGetScreenLabelInfo (Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsMethodInvoking (Inherited from Component.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMetadataGetMemberBySignature
Returns the object metadata member by name.
(Inherited from Component.)
Public methodMetadataGetMembers
Returns the object metadata members.
(Inherited from Component.)
Public methodMethodInvoke
Calls a method by name.
(Inherited from Component.)
Public methodMethodInvokeCancel (Inherited from Component.)
Public methodMethodInvokeCancelAll (Inherited from Component.)
Public methodNetworkDisablePropertySynchronization (Inherited from Component.)
Public methodNetworkIsDisabledPropertySynchronization (Inherited from Component.)
Public methodNetworkModeAddUser (Inherited from Component.)
Public methodNetworkModeIsEnabledForUser (Inherited from Component.)
Public methodNetworkModeRemoveUser (Inherited from Component.)
Public methodNetworkRestoreDisabledPropertySynchronization (Inherited from Component.)
Public methodNewObjectSetDefaultConfiguration
Called when the object is created in the editor. Designed to configure the initial state.
(Inherited from Component.)
Public methodNewObjectSetDefaultConfigurationUpdate
Called during object creation in the editor. Designed to configure the initial state.
(Inherited from Component.)
Protected methodOnAddedToParent
Called when a component is added to the parent.
(Inherited from Component.)
Protected methodOnClientConnectedAfterRootComponentEnabled (Inherited from Component.)
Protected methodOnClientConnectedBeforeRootComponentEnabled (Inherited from Component.)
Protected methodOnClientDisconnected (Inherited from Component.)
Protected methodOnClone
Called when the object is cloned.
(Inherited from Component.)
Protected methodOnComponentAdded
Called when a child component is added.
(Inherited from Component.)
Protected methodOnComponentRemoved
Called when a child component is removed.
(Inherited from Component.)
Protected methodOnDisabled
Called when the object is detached from a hierarchy of the components or is disabled. See also EnabledInHierarchy property.
(Inherited from Component.)
Protected methodOnDisabledInSimulation
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.)
Protected methodOnDispose
Called when the object is disposed.
(Inherited from Component.)
Protected methodOnEditorGetTextInfoCenterBottomCorner (Inherited from Component.)
Protected methodOnEnabled
Called when the object is attached to a hierarchy of the components and is enabled. See also EnabledInHierarchy property.
(Inherited from Component.)
Protected methodOnEnabledChanged
Called when value of Enabled property is changed.
(Inherited from Component.)
Protected methodOnEnabledInHierarchyChanged
Called when value of EnabledInHierarchy property is changed.
(Inherited from Component.)
Protected methodOnEnabledInSimulation
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.)
Protected methodOnLoad
Called during object loading.
(Inherited from Component.)
Protected methodOnMetadataGetMemberBySignature
Called when the object metadata member is received by name.
(Inherited from Component.)
Protected methodOnMetadataGetMembers
Called upon receipt of the object's metadata members.
(Inherited from Component.)
Protected methodOnMetadataGetMembersFilter (Overrides ComponentOnMetadataGetMembersFilter(MetadataGetMembersContext, MetadataMember, Boolean).)
Protected methodOnPreloadResources
Called when preloading the resources used by the object.
(Inherited from Component.)
Protected methodOnReceiveNetworkMessageFromClient (Inherited from Component.)
Protected methodOnReceiveNetworkMessageFromServer (Inherited from Component.)
Protected methodOnRemovedFromParent
Called when a component is removed from the parent.
(Inherited from Component.)
Protected methodOnSave
Called during object saving.
(Inherited from Component.)
Protected methodOnSimulationStep
Called during the simulation step.
(Inherited from Component.)
Protected methodOnSimulationStepClient
Called during the simulation step.
(Inherited from Component.)
Protected methodOnUpdate
Called during the update process of all objects.
(Inherited from Component.)
Public methodPreloadResources
Preload resources used by the object.
(Inherited from Component.)
Public methodPropertyGet(String, Object, Boolean)
Gets the value of a property by name.
(Inherited from Component.)
Public methodPropertySet
Sets the value of a property by name.
(Inherited from Component.)
Public methodRemoveAllComponents
Removes all child components.
(Inherited from Component.)
Public methodRemoveComponent
Removes a child component.
(Inherited from Component.)
Public methodRemoveFromParent
Detaches the object from its parent.
(Inherited from Component.)
Public methodToString
Returns the name and type of the object as a string.
(Inherited from Component.)
Public methodTypeSettingsIsPublic
Checks whether the object provided as a type is public.
(Inherited from Component.)
Public methodTypeSettingsIsPublicMember
Checks whether the member is set up as public.
(Inherited from Component.)
Top
Events
  NameDescription
Public eventAddedToParent
Occurs when a component is added to the parent.
(Inherited from Component.)
Public eventAddLayersWithObjectsChanged
Occurs when the AddLayersWithObjects property value changes.
Public eventBaseMaterialChanged
Occurs when the BaseMaterial property value changes.
Public eventBaseMaterialColorChanged
Occurs when the BaseMaterialColor property value changes.
Public eventBaseSurfaceChanged
Occurs when the BaseSurface property value changes.
Public eventBaseSurfaceCollisionChanged
Occurs when the BaseSurfaceCollision property value changes.
Public eventBaseSurfaceColorChanged
Occurs when the BaseSurfaceColor property value changes.
Public eventBaseSurfacePaintFactorChanged
Occurs when the BaseSurfacePaintFactor property value changes.
Public eventCloneEvent
Occurs when object is cloned.
(Inherited from Component.)
Public eventCloneSupportChanged
Occurs after changing value of CloneSupport property.
(Inherited from Component.)
Public eventComponentAdded
Occurs when a child component is added.
(Inherited from Component.)
Public eventComponentRemoved
Occurs when a child component is removed.
(Inherited from Component.)
Public eventComponentsChanged
Occurs when the set of children is changed.
(Inherited from Component.)
Public eventCurvatureChanged
Occurs when the Curvature property value changes.
Public eventDisabledEvent
Occurs when the object is disabled from a hierarchy of the components or is disabled. See also EnabledInHierarchy property.
(Inherited from Component.)
Public eventDisabledInSimulation
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.)
Public eventDisplayInEditorChanged
Occurs when value of DisplayInEditor property is changed.
(Inherited from Component.)
Public eventDisposeEvent
Occurs when the object is disposed.
(Inherited from Component.)
Public eventEnabledChanged
Occurs when the Enabled property value changes.
(Inherited from Component.)
Public eventEnabledEvent
Occurs when the object is attached to a hierarchy of the components and is enabled. See also EnabledInHierarchy property.
(Inherited from Component.)
Public eventEnabledInHierarchyChanged
Occurs when the EnabledInHierarchy property value changes.
(Inherited from Component.)
Public eventEnabledInSimulation
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.)
Public eventGenerateOverride
Public eventGetTemplateData
Public eventHeightRangeChanged
Occurs when the HeightRange property value changes.
Public eventLeveledAreaChanged
Occurs when the LeveledArea property value changes.
Public eventLeveledAreaHeightChanged
Occurs when the LeveledAreaHeight property value changes.
Public eventLeveledAreaMaterialChanged
Occurs when the LeveledAreaMaterial property value changes.
Public eventLeveledAreaShapeChanged
Occurs when the LeveledAreaShape property value changes.
Public eventLeveledAreaSizeChanged
Occurs when the LeveledAreaSize property value changes.
Public eventLoadEvent
Occurs during object loading.
(Inherited from Component.)
Public eventMetadataGetMemberBySignatureEvent
Occurs when the object metadata member is received by name.
(Inherited from Component.)
Public eventMetadataGetMembersEvent
Occurs upon receipt of the object's metadata members.
(Inherited from Component.)
Public eventMetadataGetMembersFilterEvent
Occurs when filtering receive members of the object metadata.
(Inherited from Component.)
Public eventNameChanged
Occurs when component name is changed.
(Inherited from Component.)
Public eventNetworkModeChanged
Occurs when the NetworkMode property value changes.
(Inherited from Component.)
Public eventPreloadResourcesEvent
Occurs when preloading the resources used by the object.
(Inherited from Component.)
Public eventReceiveNetworkMessageFromClient (Inherited from Component.)
Public eventReceiveNetworkMessageFromServer (Inherited from Component.)
Public eventRemovedFromParent
Occurs when a component is removed from the parent.
(Inherited from Component.)
Public eventSaveEvent
Occurs during object saving.
(Inherited from Component.)
Public eventSaveSupportChanged
Occurs after changing value of SaveSupport property.
(Inherited from Component.)
Public eventScreenLabelChanged
Occurs when the ScreenLabel property value changes.
(Inherited from Component.)
Public eventSeedChanged
Occurs when the Seed property value changes.
Public eventSimulationStep
Occurs during the simulation step.
(Inherited from Component.)
Public eventSimulationStepClient
Occurs during the simulation step.
(Inherited from Component.)
Public eventSizeChanged
Occurs when the Size property value changes.
Public eventSurface1Changed
Occurs when the Surface1 property value changes.
Public eventSurface1CollisionChanged
Occurs when the Surface1Collision property value changes.
Public eventSurface1ColorChanged
Occurs when the Surface1Color property value changes.
Public eventSurface1DistributionChanged
Occurs when the Surface1Distribution property value changes.
Public eventSurface1PaintFactorChanged
Occurs when the Surface1PaintFactor property value changes.
Public eventSurface2Changed
Occurs when the Surface2 property value changes.
Public eventSurface2CollisionChanged
Occurs when the Surface2Collision property value changes.
Public eventSurface2ColorChanged
Occurs when the Surface2Color property value changes.
Public eventSurface2DistributionChanged
Occurs when the Surface2Distribution property value changes.
Public eventSurface2PaintFactorChanged
Occurs when the Surface2PaintFactor property value changes.
Public eventSurface3Changed
Occurs when the Surface3 property value changes.
Public eventSurface3CollisionChanged
Occurs when the Surface3Collision property value changes.
Public eventSurface3ColorChanged
Occurs when the Surface3Color property value changes.
Public eventSurface3DistributionChanged
Occurs when the Surface3Distribution property value changes.
Public eventSurface3PaintFactorChanged
Occurs when the Surface3PaintFactor property value changes.
Public eventSurface4Changed
Occurs when the Surface4 property value changes.
Public eventSurface4CollisionChanged
Occurs when the Surface4Collision property value changes.
Public eventSurface4ColorChanged
Occurs when the Surface4Color property value changes.
Public eventSurface4DistributionChanged
Occurs when the Surface4Distribution property value changes.
Public eventSurface4PaintFactorChanged
Occurs when the Surface4PaintFactor property value changes.
Public eventSurface5Changed
Occurs when the Surface5 property value changes.
Public eventSurface5CollisionChanged
Occurs when the Surface5Collision property value changes.
Public eventSurface5ColorChanged
Occurs when the Surface5Color property value changes.
Public eventSurface5DistributionChanged
Occurs when the Surface5Distribution property value changes.
Public eventSurface5PaintFactorChanged
Occurs when the Surface5PaintFactor property value changes.
Public eventSurface6Changed
Occurs when the Surface6 property value changes.
Public eventSurface6CollisionChanged
Occurs when the Surface6Collision property value changes.
Public eventSurface6ColorChanged
Occurs when the Surface6Color property value changes.
Public eventSurface6DistributionChanged
Occurs when the Surface6Distribution property value changes.
Public eventSurface6PaintFactorChanged
Occurs when the Surface6PaintFactor property value changes.
Public eventTemplateChanged
Occurs when the Template property value changes.
Public eventUpdateEvent
Occurs during the update process of all objects.
(Inherited from Component.)
Top
Extension Methods
See Also