Enum ark_api::world::EntityValueType
source · [−]#[repr(u32)]
#[non_exhaustive]
pub enum EntityValueType {
EntityLocalTransform,
EntityRenderTint,
EntityRenderEnable,
EntityWorldTransform,
EntityLocalBounds,
EntityPhysicsVelocity,
EntityStateFlags,
EntityWorldTransformAffine3,
EntityLocalTransformConformal3,
EntityWorldTransformConformal3,
}Variants (Non-exhaustive)
This enum is marked as non-exhaustive
EntityLocalTransform
Use EntityLocalTransformConformal3 instead
Expects data with the same layout and size as the struct EntityTransform
EntityRenderTint
Expects data with the same layout and size as the struct EntityMeshStyleTint
Will set the tint on all mesh styles that are used by this entity. This assumes
each entity uses its own MeshStyle.
EntityRenderEnable
Expects data with the same layout and size as the struct EntityRenderEnable
EntityWorldTransform
Use EntityWorldTransformConformal3 instead
Expects data with the same layout and size as the struct EntityTransform
EntityLocalBounds
Expects data with the same layout and size as the struct EntityBounds
EntityPhysicsVelocity
Expects data with the same layout and size as the struct EntityVelocity
EntityStateFlags
Expects data with the same layout and size as the struct EntityStateFlags
EntityWorldTransformAffine3
Use EntityWorldTransformConformal3 instead
Expects data with the same layout and size as the struct EntityTransformAffine3
EntityLocalTransformConformal3
Expects data with the same layout and size as the struct EntityTransformConformal3
EntityWorldTransformConformal3
Expects data with the same layout and size as the struct EntityTransformConformal3
Implementations
sourceimpl EntityValueType
impl EntityValueType
pub fn size_of_element(&self) -> u32
Trait Implementations
sourceimpl CheckedBitPattern for EntityValueType
impl CheckedBitPattern for EntityValueType
type Bits = u32
type Bits = u32
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern. Read moresourcefn is_valid_bit_pattern(
bits: &<EntityValueType as CheckedBitPattern>::Bits
) -> bool
fn is_valid_bit_pattern(
bits: &<EntityValueType as CheckedBitPattern>::Bits
) -> bool
sourceimpl Clone for EntityValueType
impl Clone for EntityValueType
sourcefn clone(&self) -> EntityValueType
fn clone(&self) -> EntityValueType
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more