Editar

Partilhar via


VolumeElasticSystem Constructor

Definition

Default constructor; initializes the elastic system with the specified initial value, velocity, extent, and elastic properties.

public:
 VolumeElasticSystem(UnityEngine::Vector3 initialValue, UnityEngine::Vector3 initialVelocity, Microsoft::MixedReality::Toolkit::Experimental::Physics::VolumeElasticExtent extentInfo, Microsoft::MixedReality::Toolkit::Experimental::Physics::ElasticProperties elasticProperties);
public VolumeElasticSystem (UnityEngine.Vector3 initialValue, UnityEngine.Vector3 initialVelocity, Microsoft.MixedReality.Toolkit.Experimental.Physics.VolumeElasticExtent extentInfo, Microsoft.MixedReality.Toolkit.Experimental.Physics.ElasticProperties elasticProperties);
new Microsoft.MixedReality.Toolkit.Experimental.Physics.VolumeElasticSystem : UnityEngine.Vector3 * UnityEngine.Vector3 * Microsoft.MixedReality.Toolkit.Experimental.Physics.VolumeElasticExtent * Microsoft.MixedReality.Toolkit.Experimental.Physics.ElasticProperties -> Microsoft.MixedReality.Toolkit.Experimental.Physics.VolumeElasticSystem
Public Sub New (initialValue As Vector3, initialVelocity As Vector3, extentInfo As VolumeElasticExtent, elasticProperties As ElasticProperties)

Parameters

initialValue
UnityEngine.Vector3
initialVelocity
UnityEngine.Vector3
extentInfo
VolumeElasticExtent
elasticProperties
ElasticProperties

Applies to