Enum ark_api::world::EntityValueType
source · #[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
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
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
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§
source§impl EntityValueType
impl EntityValueType
pub fn size_of_element(&self) -> u32
Trait Implementations§
source§impl 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.source§fn is_valid_bit_pattern(
bits: &<EntityValueType as CheckedBitPattern>::Bits
) -> bool
fn is_valid_bit_pattern( bits: &<EntityValueType as CheckedBitPattern>::Bits ) -> bool
bits
as &Self.source§impl Clone for EntityValueType
impl Clone for EntityValueType
source§fn clone(&self) -> EntityValueType
fn clone(&self) -> EntityValueType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EntityValueType
impl Debug for EntityValueType
source§impl Hash for EntityValueType
impl Hash for EntityValueType
source§impl PartialEq<EntityValueType> for EntityValueType
impl PartialEq<EntityValueType> for EntityValueType
source§fn eq(&self, other: &EntityValueType) -> bool
fn eq(&self, other: &EntityValueType) -> bool
self and other values to be equal, and is used
by ==.