Click or drag to resize

Mesh Class

Represents a 3D mesh in the engine. The child mesh geometries defines the mesh data.
Inheritance Hierarchy

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class Mesh : ResultCompile<MeshCompiledData>

The Mesh type exposes the following members.

Constructors
 NameDescription
Public methodMeshInitializes a new instance of the Mesh class
Top
Properties
 NameDescription
Public propertyAllowDisposeBuffers 
Public propertyAnyData The user data of the component.
(Inherited from Component)
Public propertyBaseType Gets the base type of the object.
(Inherited from Component)
Public propertyBillboard Whether to treat the mesh as a billboard. When drawing the mesh will turn to face the camera.
Public propertyBillboardPositionOffset The billboard's translation offset from the pivot of the mesh.
Public propertyBillboardShadowOffset Indent multiplier when rendering shadows to fix overlapping effect of the object with the shadow.
Public propertyCalculateExtractedDataAndBounds 
Public propertyCastShadows Whether to cast shadows on the other surfaces.
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 propertyDisplayInEditor Whether to show the object in the editor.
(Inherited from Component)
Public propertyDisposed Whether the object is disposed.
(Inherited from Component)
Public propertyEditorDisplayBinormals Whether to display mesh binormals in the editor.
Public propertyEditorDisplayBounds Whether to display mesh bounds in the editor.
Public propertyEditorDisplayCollision Whether the mesh collision displayed in the editor.
Public propertyEditorDisplayLOD Whether to display number of level of detail in the editor.
Public propertyEditorDisplayNormals Whether to display mesh normals in the editor.
Public propertyEditorDisplayPivot Whether the mesh pivot displayed in the editor.
Public propertyEditorDisplayProxyMesh Whether to display the proxy mesh of the virtualized mesh.
Public propertyEditorDisplaySkeleton Whether to the mesh skeleton displayed in the editor.
Public propertyEditorDisplayTangents Whether to display mesh tangents in the editor.
Public propertyEditorDisplayTriangles Whether to display mesh triangles in the editor.
Public propertyEditorDisplayUV Whether to display mesh uv's in the editor.
Public propertyEditorDisplayVertexColor Whether to display mesh vertex colors in the editor.
Public propertyEditorDisplayVertices Whether to display mesh vertices in the editor.
Public propertyEditorDocumentConfiguration Gets or sets the configuration data of the object's settings in the editor.
(Inherited from Component)
Public propertyEditorPlayAnimation Specifies the animation name to play in the editor.
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 propertyHierarchyController Gets the object hierarchy control controller.
(Inherited from Component)
Public propertyIsResource
(Inherited from Component)
Public propertyLODScale The distance multiplier when determining the level of detail.
Public propertyLODScaleShadows The distance multiplier when determining the level of detail for shadows. Set 100 or more to always use the best LOD for shadows.
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 propertyResult The result provided by the object.
(Inherited from ResultCompileT)
Public propertyResultCompileUpdateMode Mode update of the object.
(Inherited from ResultCompileT)
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 propertyShouldRecompile Whether to update the resulting object data.
(Inherited from ResultCompileT)
Public propertySkeleton The skeleton of the skinned mesh.
Public propertyStructure 
Public propertyStructureInfo 
Public propertyTypeSettingsPrivateObjects Object settings when used as a type.
(Inherited from Component)
Public propertyVisibilityDistanceFactor The factor of maximum visibility distance. The maximum distance is calculated based on the size of the object on the screen.
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(IListServerNetworkService_UsersUserInfo, String)
(Inherited from Component)
Public methodBeginNetworkMessage(ServerNetworkService_UsersUserInfo, String)
(Inherited from Component)
Public methodBeginNetworkMessageToEveryone
(Inherited from Component)
Public methodBeginNetworkMessageToServer
(Inherited from Component)
Public methodBuildStructure(Boolean, Single) Builds the structure of the mesh. The structure includes edges and faces.
Public methodStatic memberBuildStructure(Mesh, Boolean, Single) Builds the structure of the mesh. The structure includes edges and faces.
Public methodClone Creates a copy of the object.
(Inherited from Component)
Public methodConvertToVoxel 
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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExtractData 
Protected methodFinalizeAllows 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 methodStatic memberGetAll 
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 methodGetHashCodeServes 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 methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsMethodInvoking Checks if a method is running over time. You can start executing such methods using MethodInvoke(String, Object, Double, Double) method.
(Inherited from Component)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMergeGeometriesWithEqualVertexStructureAndMaterial 
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 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)
Public methodMethodInvokeCancelAll 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)
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
(Overrides ComponentOnDispose)
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
(Inherited from ResultCompileT)
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
(Overrides ComponentOnLoad(MetadataLoadContext, TextBlock, String))
Protected methodOnMeshCompile 
Protected methodOnMeshCompilePostProcess 
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
(Overrides ComponentOnPreloadResources)
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 methodOnResultCompile
(Overrides ResultCompileTOnResultCompile)
Protected methodOnSave
(Overrides ComponentOnSave(MetadataSaveContext, TextBlock, Boolean, String))
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 methodPerformResultCompile Performs recompilation of the result.
(Inherited from ResultCompileT)
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 methodResultDispose Clears the result.
(Inherited from ResultCompileT)
Public methodSupportsBatching 
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 eventBillboardChangedOccurs when the Billboard property value changes.
Public eventBillboardPositionOffsetChangedOccurs when the BillboardPositionOffset property value changes.
Public eventBillboardShadowOffsetChangedOccurs when the BillboardShadowOffset property value changes.
Public eventCastShadowsChangedOccurs when the CastShadows 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 eventStatic memberConvertToVoxelOverride 
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 eventLoadEvent Occurs during object loading.
(Inherited from Component)
Public eventLODScaleChangedOccurs when the LODScale property value changes.
Public eventLODScaleShadowsChangedOccurs when the LODScaleShadows property value changes.
Public eventMeshCompileEvent 
Public eventMeshCompilePostProcessEvent 
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 eventNetworkModeChangedOccurs 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 eventResultChanged Occurs after changing the result value.
(Inherited from ResultCompileT)
Public eventResultCompileBegin Occurs before compiling the result.
(Inherited from ResultCompileT)
Public eventResultCompileEnd Occurs after the completion of the compilation of the result.
(Inherited from ResultCompileT)
Public eventSaveEvent Occurs during object saving.
(Inherited from Component)
Public eventSaveSupportChanged Occurs after changing value of SaveSupport property.
(Inherited from Component)
Public eventScreenLabelChangedOccurs when the ScreenLabel property value changes.
(Inherited from Component)
Public eventSimulationStep Occurs during the simulation step.
(Inherited from Component)
Public eventSimulationStepClient Occurs during the simulation step.
(Inherited from Component)
Public eventSkeletonChangedOccurs when the Skeleton property value changes.
Public eventUpdateEvent Occurs during the update process of all objects.
(Inherited from Component)
Public eventVisibilityDistanceFactorChangedOccurs when the VisibilityDistanceFactor property value changes.
Top
Fields
 NameDescription
Public fieldEditorCameraTransform 
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also