class Mittsu::Geometry

Defined in:

mittsu/core/geometry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def apply_matrix(matrix) #

[View source]
def bounding_box : Mittsu::Box3? #

[View source]
def bounding_box=(bounding_box : Nil | Mittsu::Box3) #

[View source]
def bounding_sphere : Mittsu::Sphere? #

[View source]
def bounding_sphere=(bounding_sphere : Nil | Mittsu::Sphere) #

[View source]
def center #

[View source]
def clone #

[View source]
def colors : Array(Mittsu::Color) #

[View source]
def colors=(colors : Array(Mittsu::Color)) #

[View source]
def colors_need_update : Bool #

[View source]
def colors_need_update=(colors_need_update : Bool) #

[View source]
def compute_bounding_box #

[View source]
def compute_bounding_sphere #

[View source]
def compute_face_normals #

[View source]
def compute_line_distances #

[View source]
def compute_morph_normals #

[View source]
def compute_tangents #

[View source]
def compute_vertex_normals(area_weighted = false) #

[View source]
def dispose #

[View source]
def dynamic #

[View source]
def dynamic=(dynamic) #

[View source]
def elements_need_update : Bool #

[View source]
def elements_need_update=(elements_need_update : Bool) #

[View source]
def face_vertex_uvs : Array(Array(Mittsu::Vector2)) #

[View source]
def face_vertex_uvs=(face_vertex_uvs : Array(Array(Mittsu::Vector2))) #

[View source]
def faces : Array(Mittsu::Face3) #

[View source]
def faces=(faces : Array(Mittsu::Face3)) #

[View source]
def from_buffer_geometry(geometry) #

[View source]
def get_color_index(color, color_hash, colors) #

[View source]
def get_normal_index(normal, normals_hash, normals) #

[View source]
def get_uv_index(uv, uvs_hash, uvs) #

[View source]
def groups_need_update : Bool #

[View source]
def groups_need_update=(groups_need_update : Bool) #

[View source]
def has_tangents : Bool #

[View source]
def has_tangents=(has_tangents : Bool) #

[View source]
def id : Int32 #

[View source]
def line_distances : Array(Float64) #

[View source]
def line_distances=(line_distances : Array(Float64)) #

[View source]
def line_distances_need_update : Bool #

[View source]
def line_distances_need_update=(line_distances_need_update : Bool) #

[View source]
def merge(geometry, matrix = nil, material_index_offset = nil) #

[View source]
def merge_mesh(mesh) #

[View source]
def merge_vertices #

[View source]
def morph_colors : Array(Mittsu::Color) #

[View source]
def morph_colors=(morph_colors : Array(Mittsu::Color)) #

[View source]
def morph_normals : Array(Mittsu::Geometry::MorphNormal) #

[View source]
def morph_normals=(morph_normals : Array(Mittsu::Geometry::MorphNormal)) #

[View source]
def morph_targets : Array(Mittsu::Geometry) #

[View source]
def morph_targets=(morph_targets : Array(Mittsu::Geometry)) #

[View source]
def morph_targets_need_update : Bool #

[View source]
def morph_targets_need_update=(morph_targets_need_update : Bool) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def normals_need_update : Bool #

[View source]
def normals_need_update=(normals_need_update : Bool) #

[View source]
def set_bit(value, position, enabled) #

[View source]
def skin_indices : Array(Int32) #

[View source]
def skin_indices=(skin_indices : Array(Int32)) #

[View source]
def skin_weights : Array(Int32) #

[View source]
def skin_weights=(skin_weights : Array(Int32)) #

[View source]
def tangents_need_update : Bool #

[View source]
def tangents_need_update=(tangents_need_update : Bool) #

[View source]
def type : String #

[View source]
def uuid : UUID #

[View source]
def uvs_need_update : Bool #

[View source]
def uvs_need_update=(uvs_need_update : Bool) #

[View source]
def vertices : Array(Mittsu::Vector3) #

[View source]
def vertices=(vertices : Array(Mittsu::Vector3)) #

[View source]
def vertices_need_update : Bool #

[View source]
def vertices_need_update=(vertices_need_update : Bool) #

[View source]