C# 클래스 hyades.physics.SpringBody

상속: Body
파일 보기 프로젝트 열기: zfedoran/bubblebound

공개 프로퍼티들

프로퍼티 타입 설명
edge_damping float
edge_k float
is_constrained bool
shape_damping float
shape_k float
spring_list List
spring_pointmass_list List

공개 메소드들

메소드 설명
Add ( Spring spring ) : void
ApplyInternalForces ( double elapsed ) : void
SpringBody ( Shape shape, float mass, float edgeSpringK, float edgeSpringDamp, float shapeSpringK, float shapeSpringDamp ) : System

메소드 상세

Add() 공개 메소드

public Add ( Spring spring ) : void
spring Spring
리턴 void

ApplyInternalForces() 공개 메소드

public ApplyInternalForces ( double elapsed ) : void
elapsed double
리턴 void

SpringBody() 공개 메소드

public SpringBody ( Shape shape, float mass, float edgeSpringK, float edgeSpringDamp, float shapeSpringK, float shapeSpringDamp ) : System
shape Shape
mass float
edgeSpringK float
edgeSpringDamp float
shapeSpringK float
shapeSpringDamp float
리턴 System

프로퍼티 상세

edge_damping 공개적으로 프로퍼티

public float edge_damping
리턴 float

edge_k 공개적으로 프로퍼티

public float edge_k
리턴 float

is_constrained 공개적으로 프로퍼티

public bool is_constrained
리턴 bool

shape_damping 공개적으로 프로퍼티

public float shape_damping
리턴 float

shape_k 공개적으로 프로퍼티

public float shape_k
리턴 float

spring_list 공개적으로 프로퍼티

public List spring_list
리턴 List

spring_pointmass_list 공개적으로 프로퍼티

public List spring_pointmass_list
리턴 List