Ejemplo n.º 1
0
 /// <summary>
 /// Copies a BodyData object.
 /// </summary>
 /// <param name="representationHnd">
 /// The representation handle.
 /// </param>
 /// <param name="offsetTransform">
 /// The offset transform.
 /// </param>
 /// <param name="materialIds">
 /// The material ids.
 /// </param>
 public BodyData(BodyData bodyData)
 {
     this.m_RepresentationHnd       = bodyData.RepresentationHnd;
     this.m_ShapeRepresentationType = bodyData.m_ShapeRepresentationType;
     this.m_OffsetTransform         = bodyData.OffsetTransform;
     this.m_MaterialIds             = bodyData.MaterialIds;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Check whether the representation type used is of a specific type
 /// </summary>
 /// <param name="repType">the enum value that needs to be cchecked/compared to</param>
 /// <returns>true/false</returns>
 public bool isSpecificRepresentationType(ShapeRepresentationType repType)
 {
     return(repType == m_RepresentationType);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Copies a BodyData object.
 /// </summary>
 /// <param name="representationHnd">
 /// The representation handle.
 /// </param>
 /// <param name="offsetTransform">
 /// The offset transform.
 /// </param>
 /// <param name="materialIds">
 /// The material ids.
 /// </param>
 public BodyData(BodyData bodyData)
 {
     this.m_RepresentationHnd = bodyData.RepresentationHnd;
     this.m_ShapeRepresentationType = bodyData.m_ShapeRepresentationType;
     this.m_OffsetTransform = bodyData.OffsetTransform;
     this.m_MaterialIds = bodyData.MaterialIds;
 }
 /// <summary>
 /// Check whether the representation type used is of a specific type
 /// </summary>
 /// <param name="repType">the enum value that needs to be cchecked/compared to</param>
 /// <returns>true/false</returns>
 public bool isSpecificRepresentationType(ShapeRepresentationType repType)
 {
     return (repType == m_RepresentationType);
 }