Mesh Component
MeshComponent Class
The MeshComponent handles interactions with static meshes.
Syntax
Member Details
ComponentId Property
Retrieves the component id for this MeshComponent.
SyntaxValue
The id.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
ComponentType Field
Syntax
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
GetIsVisible Method
Retrieves the visibility state of this MeshComponent.
SyntaxReturns
The visibility state.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
IsScriptable Property
The scriptable flag for this MeshComponent.
SyntaxValue
Whether or not this mesh can have properties changed by script.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Name Property
This MeshComponent name, as specified in the editor.
SyntaxValue
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
SetIsVisible Method
Sets the visibility state of this MeshComponent.
SyntaxParameters
isVisible
The visibility state to set.
Returns
The return value is an internal event id.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
SetIsVisible Method
Sets the visibility state of this MeshComponent.
SyntaxParameters
sessionId
The sessionId of the user to change static mesh visibility for.
isVisible
The visibility state to set.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
SetIsVisible Method
Sets the visibility state of this MeshComponent.
SyntaxParameters
agent
The agent to change static mesh visibility for.
isVisible
The visibility state to set.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
SetIsVisible Method
Sets the visibility state of this MeshComponent.
SyntaxParameters
isVisible
The visibility state to set.
handler
Handler to be called when the event completes.
Returns
The return value is an internal event id.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
SetIsVisible Method
Sets the visibility state of this MeshComponent.
SyntaxParameters
sessionId
The sessionId of the user to change static mesh visibility for.
isVisible
The visibility state to set.
handler
Handler to be called when the event completes.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
SetIsVisible Method
Sets the visibility state of this MeshComponent.
SyntaxParameters
agent
The agent to change static mesh visibility for.
isVisible
The visibility state to set.
handler
Handler to be called when the event completes.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
ToString Method
A string representation of this object.
SyntaxReturns
A string representation of this object.
Remarks
RequirementsNamespace: Sansar.Simulation Assembly: Sansar.Simulation (in Sansar.Simulation.dll) Assembly Versions: 1.1.0.0
Last updated