SpriteEntity Members

Microsoft Robotics Class Reference

The SpriteEntity type exposes the following members.

Constructors

  Name Description
Public method SpriteEntity
Initializes a new instance of the SpriteEntity class

Methods

  Name Description
Public method Clone
Clones SpriteEntity
(Overrides VisualEntity. . :: . .Clone() () () ().)
Public method CopyTo
Copies the data member values of the current SpriteEntity to the specified target object
(Overrides VisualEntity. . :: . .CopyTo(IDssSerializable).)
Public method Deserialize
Deserializes SpriteEntity
(Overrides VisualEntity. . :: . .Deserialize(BinaryReader).)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Serialize
Serializes the data member values of the current SpriteEntity to the specified writer
(Overrides VisualEntity. . :: . .Serialize(BinaryWriter).)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property ChildCount
Number of children, used in serialization and deserialization of VisualEntities
(Inherited from VisualEntity.)
Public property EmbeddedResourceAssemblies
List of assemblies contain embedded resources this entity needs to be properly loaded
(Inherited from VisualEntity.)
Public property Flags
Flags which define the rendering and behavior of this entity.
(Inherited from VisualEntity.)
Public property Height
Height of the sprite in meters
Public property MeshRotation
Gets or sets the rotation of the entity meshes
(Inherited from VisualEntity.)
Public property MeshScale
Gets or sets the scale of the entity meshes
(Inherited from VisualEntity.)
Public property MeshTranslation
Gets or sets the translation of the entity meshes
(Inherited from VisualEntity.)
Public property ParentJoint
Gets the joint that connects this entity to its parent. Null if either this or parent do not have physics entity.
(Inherited from VisualEntity.)
Public property PivotType
The sprite pivot behavior
Public property PositioningType
The sprite positioning behavior
Public property ReferenceFrame
Specifies the meaning of the entity's position This is used for serialization and to help with joining child entities. It is not meant to be changed outside of the simulation engine.
(Inherited from VisualEntity.)
Public property ServiceContract
The contract for a service associated with this entity.
(Inherited from VisualEntity.)
Public property State
State
(Inherited from Entity.)
Public property TextureHeight
Height of the texture in texels
Public property TextureWidth
Width of the texture in texels
Public property Width
Width of the sprite in meters

See Also

SpriteEntity Class

Microsoft.Robotics.Simulation.Engine.Proxy Namespace