PrimitiveSphereTopology

Topology type for primitive sphere mesh generation.

Controls how the sphere mesh is generated. Different topologies are suitable for different scenarios such as texture mapping or physics simulation.

Entries

Link copied to clipboard

Legacy sphere topology.

Link copied to clipboard

Latitude-Longitude sphere topology (default).

Link copied to clipboard

Icosahedron sphere topology.

Link copied to clipboard

Represents a value not recognized by this version of the SDK.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val value: Int

The stable int value of the topology.

Functions

Link copied to clipboard
fun valueOf(value: String): PrimitiveSphereTopology

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.