Optionalfactor: Immutable<Vector3>Optionaltexture: ResourceHandle<Texture>Property that returns true if the texture property has a valid texture associated with it.
The texture reference.
Copies all properties defined by the prototype of Vector3TextureProperty from other to this instance.
Clones this instance and returns a new Vector3TextureProperty with identical values.
StaticisCompares whether both texture properties contains the same values.
The left hand-side operand.
The right hand-side operand.
True if both properties are equal.
The Vector3TextureProperty implements a texture property with a Vector3 factor. The class follows the 'copy-on-write' pattern, which means that every operation returns a copy of the property with updated values. It also implies that the values of the property cannot be directly modified.
The concept of immutability improves sharing of objects as all types in TypeScript are assigned by identity, instead of by-value (e.g. a copy) as in other programming languages like C.